[ADOL_]ARVIS 3ENG) This is version 3 of ARVIS BOT. ARVIS 3
Since it is a new version with a completely different identity from Trend Break, we do not use the name Trend Break.
It is a version made lighter in the existing version and newly created logic.
Existing ARVIS users can use versions 1, 2, 3 and 3R auxiliary tools to be added without additional rights.
Optional use is possible.
principle)
Features of the new core logic:
It was created considering the relative strength RSI and the ICHIMOKU moving average.
Identify the trend strength to generate a long and short reversal signal at the reversal of the trend.
By using HTF signal, it is possible to bring the signal of the upper time to the smaller time.
By using HTF, the candle splits and the standard maintains the flow of time.
A method was used to reduce the whipsaw of frequent signal appearances.
option)
A volatility warning notification has been included. A function that alerts you before volatility increases.
It is indicated in the form of ■ at the bottom of the chart.
You can optionally set the signal range.
Dynamic Fibonacci moving along the candlestick was applied. 0.5 is used as a criterion for determining a large trend.
By combining the RSI and the moving average, you can apply a background that utilizes the RSI as a sensitivity.
By combining RSI and Stochastic, the overbought/oversold section was output as the background.
You can output overbought/oversold at the desired time as a background.
Up/down divergence included as background.
Black is downward divergence and white is upward divergence.
In the lower right corner, an indicator for the probability of a long is added by combining the multiple moving averages and the figures analyzed for the convergence trend.
50% is used as a reference point for long/short conversion, 10~20% is considered oversold section, and 80~90% is considered overbought section.
It can be used as a reference point for counter-trend trading. Probability indicators allow you to increase your judgment with visualized numbers.
principle example)
time frame)
Recommended time frame: 15-minute peaks >> 1-hour peaks > 1.3-minute peaks = 4 hour peaks = daily
alarm)
Various alert functions are available. based on the alert signal
When trading, various signals help to set specific conditions.
- HTF Long Short  ,   Alert
- Volatility warning alert
- Basic long and short alerts
- Up/down divergence alert
trading method)
1. Utilize SIGNAL1 L,S signals. It is a similar approach to the existing manual bot mode.
2.SIGNAL2's   ,   signals can bring high-time signals to buy and sell. This is a similar approach to the existing autobot mode.
If you bring a high time signal to a small time, you can refine the hit point, so in this case, use SIGNAL2 of 15 minutes or longer.
SIGNAL2 15-minute view at 3-minute peak, SIGNAL 1 hour view at 15-minute peak, and SIGNAL 4 hour view at 1-hour peak are recommended values.
3-1. Entry criteria/stop loss criteria (when trading hands and bots)
- entry criteria; Follow the signal.
- Stop loss criteria;
Use fixed stop loss: Set 1% fixed stop loss section from signal generation. (% is set individually)
Use Candle Stop Loss: Set a stop loss when the low or high point of the signal generating bar collapses.
Use flow stop loss: Set the stop loss considering the flow of the wave.
3-2. Entry criteria/stop loss criteria (in case of signal-based bot trading)
- It is not recommended to use more than 3x magnification. The above entry requires manual intervention and risk management.
It switches every time the opposite signal appears after entering without setting the stop loss separately.
Example of using the 15-minute HTF signal in the 3-minute scale
4. Note
You are solely responsible for any trading decisions you make.
ARVIS 3R indicator will be updated. Required for use of ARVIS 3
This is an additional feature. It is created as an indicator at the bottom, not as a candle chart.
5. How to use
It is set to be available only to invited users. When invited,
Tap Add Indicator to Favorites at the bottom of the indicator.
If you click the indicator at the top of the chart screen and look at the left tab, there is a Favorites tab.
Add an indicator by clicking the indicator name in the Favorites tab.
KOR) ARVIS BOT의 3버전입니다. ARVIS 3
Trend Break와 정체성을 완전히 달리한 신버전이므로
더이상 Trend Break 의 명칭을 쓰지 않습니다.
기존버전을 경량화하고 로직을 새롭게 만든 버전입니다.
기존의 ARVIS 이용자는 추가 권한 없이 1,2,3버전과 추가될 3R보조도구의
선택 활용이 가능합니다.
원리)
새로운 핵심적인 로직의 기능 :
상대강도인 RSI와 ICHIMOKU 이평선을 고려하여 만들어졌습니다.
추세강도를 파악해 추세의 전환자리에서 롱과 숏의 전환 신호를 발생시키도록 합니다.
HTF신호를 이용하여 상위 시간의 신호를 작은 시간대로 가져올 수 있습니다.
HTF를 활용함으로써 캔들은 쪼개고 기준은 상위 시간의 흐름을 유지해
잦은 신호출현의 휩쏘를 줄이는 방법을 사용하였습니다.
옵션)
변동성 경고 알림이 포함되었습니다. 변동성이 커지기 전에 미리 알려주는 기능으로
차트하단에 ■ 형태로 표기됩니다.
시그널의 범위를 옵션으로 설정할 수 있습니다.
캔들을 따라 움직이는 동적 피보나치가 적용되었습니다. 0.5를 큰 추세 판단 기준으로 활용합니다.
RSI와 이평선을 결합하여 RSI를 민감도로 활용한 배경을 적용할 수 있습니다.
RSI와 스토캐스틱을 결합하여 과매수/과매도구간을 배경으로 출력하였습니다.
원하는 시간의 과매수/과매도를 배경으로 출력할 수 있습니다.
상승/하락 다이버전스가 배경으로 포함되었습니다.
검은색은 하락다이버전스, 흰색은 상승다이버전스입니다.
우측하단에 다중이평선과 수렴추세를 분석한 수치를 종합하여 롱의 확률에 대한 표시기가 추가되었습니다.
50%는 롱/숏의 전환 기준점으로 활용하며, 10~20%는 과매도 구간, 80~90%는 과매수 구간으로 간주하여
역추세 매매의 기준점으로 활용할 수 있습니다. 확률 표시기를 통해 가시화된 수치로 판단을 높일 수 있습니다.
원리 예시)
타임프레임)
추천타임프레임 : 15분봉 >> 1시간봉 > 1,3분봉 = 4시간봉 = 일봉
알람)
다양한 얼러트 기능을 사용할 수 있습니다. 얼러트 신호를 기반으로
매매시 다양한 신호는 구체적 조건 설정에 도움이 됩니다.
- HTF 롱숏🥵,🥶 얼러트
- 변동성 경고 얼러트
- 기본 롱,숏 얼러트
- 상승/하락 다이버전스 얼러트
매매방법)
1. SIGNAL1 L,S 신호를 활용합니다. 기존의 수동봇 모드와 비슷한 접근입니다.
2.SIGNAL2의 🥵,🥶 신호는 높은 시간의 신호를 가져와 매매할 수 있습니다. 기존의 자동봇 모드와 비슷한 접근입니다.
높은 시간대의 신호를 작은시간으로 가져오면 타점을 정교화 할 수 있으므로, 이와같은 경우 15분 이상의 SIGNAL2를 활용합니다.
3분봉에서 SIGNAL2 15분 보기, 15분봉에서 SIGNAL 1시간 보기, 1시간봉에서 SIGNAL 4시간 보기가 추천값입니다.
3-1. 진입기준/손절기준(손,봇 매매시)
- 진입기준; 시그널을 따릅니다.
- 손절기준;
고정손절가 이용 : 시그널 발생으로부터 1% 고정 손절가 구간을 설정합니다.(%는 개별로 설정)
캔들손절가 이용 : 시그널 발생봉의 저점이나 고점이 무너지면 손절을 설정합니다.
흐름손절가 이용 : 파동의 흐름을 고려하여 손절을 설정합니다.
3-2. 진입기준/손절기준(신호기반 봇 매매시)
- 3배율 이상을 권장하지 않습니다. 이상의 진입은 수동개입으로 리스크관리가 필요합니다.
손절가를 따로 설정하지 않고 진입후 반대신호가 뜰때마다 스위칭을 합니다.
3분봉에서 15분HTF 신호사용의 예시
4. 참고
귀하가 내리는 모든 거래 결정은 전적으로 귀하의 책임입니다.
ARVIS 3R 지표가 업데이트 예정입니다. ARVIS 3의 활용에 필요한
부가적인 기능입니다. 캔들차트가 아닌 하단의 지표로 생성됩니다.
5. 사용방법
초대된 사용자만 사용할 수 있도록 설정이 되어있습니다. 초대를 받을 경우,
지표 하단의 즐겨찾기에 인디케이터 넣기를 누릅니다.
차트화면 상단에 지표를 눌러서 왼쪽탭에 보면 즐겨찾기 탭이 있습니다.
즐겨찾기 탭에서 지표이름을 눌러서 지표를 추가합니다.
스크립트에서 "stop loss"에 대해 찾기
Cyatophilum Swing Trader [BACKTEST]This is an indicator for swing trading which allows you to build your own strategies, backtest and alert. This version is the backtest which allows to use the Strategy Tester. The alert version can be found in my profile scripts page.
The particularity of this indicator is that it contains several indicators, including a custom one, that you can choose in a drop down list, as well as a trailing stop loss and take profit system.
The current indicators are :
 
 CYATO AI:  a custom indicator inspired by Donchian Channels that will catch each big trend and important reversal points .
The indicator has two major "bands" or channels and two minor bands. The major bands are bigger and are always displayed. 
When price reaches a major band, acting as a support/resistance, it will either bounce on it or break through it. This is how "tops" and "bottoms", and breakouts are caught.
The minor bands are used to catch smaller moves inside the major bands. A combination of volume, momentum and price action is used to calculate the signals.
Advantages of this indicator: it should catch top and bottoms better than other swing trade indicators.
Cons of this indicator: Some minor moves might be ignored. Sometimes the script will catch a fakeout due to the Bands design.
Best timeframes to use it : 2H~4H
Sample:
Other indicators available:
 SARMA:  A combination of Parabolic Stop and Reverse and Exponential Moving Average (20 and 40) .
 SAR:  Regular Parabolic Stop and Reverse .
 QQE:  An indicator based on Quantitative Qualitative Estimation .
 SUPERTREND:  A reversal indicator based on Average True Range .
 CHANNELS:  The classic Donchian Channels .
 
More indicators might be added in the future.
About the signals: each entry (long & short) is calculated at bar close to avoid repainting. Exits (SL & TP) can either be intra-bar or at bar close using the  Exit alert type  parameter.
 STOP LOSS SYSTEM 
The base indicators listed above can be used with or without TP/SL. 
TP and SL can be both turned on and off and configured for both directions.
The system can be configured with 3 parameters as follows:
 
 Stop Loss Base % Price: Starting Value for LONG/SHORT stop loss
 Trailing Stop % Price to Trigger	First parameter related to the trailing stop loss. Percentage of price movement in the right direction required to make the stop loss line move.
 Trailing Stop % Price Movement:	Second parameter related to the trailing stop loss. Percentage for the stop loss trailing movement.
 
Another option is the "Reverse order on Stop Loss". Use this if you want the strategy to trigger a reverse order when a stop loss is hit.
 TAKE PROFIT SYSTEM 
The system can be configured with 2 parameters as follows:
 
 Take Profit %: Take profit value in percentage of price.
 Trailing Profit Deviation %: Percent deviation for the trailing take profit.
 
 Combining indicators and Take Profit/Stop Loss 
One thing to note is that if a reversal signal triggers during a trade, the trade will be closed before SL or TP is reached.
Indeed, the base indicators are reversal indicators, they will trigger long/short signals to follow the trend.
It is possible to use a takeprofit without stop loss, like in this example, knowing that the signal will reverse if the trade goes badly.
The base indicators settings can be changed in the "Advanced Parameters" section.
Configuration used for this snapshot:
 BACKTEST SETTINGS 
· Initial Capital: 10 000 $
· Order Size: 10% equity (to avoid compounding effect)
· Commission : 0.1% per order (total commission paid: 244.41 €)
· Slippage: 5 ticks
Oldest trade: 2014-04-01
Backtest Period: From 2014-04-01 to 2020-09-04
 Use the link below to obtain access to this indicator.
TrendMaster FreeTrendMaster Free 
This is the free version of TrendMaster. It includes the Cloud and the candle colouring rules but does not provide the entry, exit and stop loss management of the full version.
TrendMaster is a complete trend following system with strict entry, exit and trade management criteria. The indicator is optimised for weekly, daily and 4-hour candlesticks and can be used for all trending markets such as crypto, forex or stocks. It was developed primarily for less experienced traders that struggle to determine relevant information from irrelevant information when viewing a candlestick chart. The indicator was built to solve the problem that all new traders face.
 The Cloud 
The indicator includes a moving average cloud which serves as a visual guide to local support and resistance . When price exits the cloud to the upside it typically trends above and finds support at the cloud during retracements.
 Candle Colours 
By default, TrendMaster will colour your candles in black and white. White candles indicate an uptrend in an asset and the candles will not change colour until the trend has reversed and a counter-trend signal has been printed. Black candles indicate a downtrend, they will remain black until a counter-trend long signal candle has been printed.
 Setting Up The Indicator 
TrendMaster is optimised for Heikin-Ashi candles. Using candles with smoothing applied decreases the likelihood of whipsaw losses and provides a stable visual representation of the trend. Ensure you have applied Heikin-Ashi candles to your chart before continuing. You can customise to any style of your choice provided the candle borders and wicks are set to a uniform colour that contrasts the chart background.
 Entries and Exits 
A long signal candle is a white Heikin-Ashi candle that closes above the cloud. A short signal candle is a white Heikin-Ashi candle that closes below the cloud. Entries are taken with a pending order placed at the wick with a reasonable margin for error.
 Upgrading 
The full version of TrendMaster contains significantly more functionality including coloured signal candles, stop loss and trailing take profit management, alerts and much more.
 Our Story 
Founded in 2018 by IchimokuScholar and C00kie, TrendMaster is a team that produces technical analysis indicators with an emphasis on simplicity and noise reduction. We support a large community with educational content, automated market scanners and mentoring in our private chat rooms. We produce technical analysis indicators geared primarily towards the emerging Cryptocurrency asset class. We provide educational material to assist trader development and host a large online trend following community. All of our products are designed to help traders distinguish relevant information from background noise. Our indicators encourage disciplined trade management to maximise the opportunity captured while minimising losses.
 IchimokuScholar 
IchimokuScholar – In 2017 I retired from a career in higher education to focus on Trading. I like to trade long term trends, focusing primarily on continuation setups. I am dedicated to sharing my knowledge of trading and take great pleasure in simplifying technical analysis for newer traders.
 C00kie 
I started trading crypto in 2017 and immediately started coding a bunch of tools to improve my quality of life. Some definitely worked out better than others. Like to trade the higher timeframes and drawing horizontal lines on charts. I am also pretty much obligated to like cookies.
TrendMaster TrialTrendMaster Trial 
This is the trial version of TrendMaster. It includes the Cloud and the candle colouring rules but does not provide the entry, exit and stop loss management of the full version.
TrendMaster is a complete trend following system with strict entry, exit and trade management criteria. The indicator is optimised for weekly, daily and 4-hour candlesticks and can be used for all trending markets such as crypto, forex or stocks. It was developed primarily for less experienced traders that struggle to determine relevant information from irrelevant information when viewing a candlestick chart. The indicator was built to solve the problem that all new traders face.
 The Cloud 
The indicator includes a moving average cloud which serves as a visual guide to local support and resistance. When price exits the cloud to the upside it typically trends above and finds support at the cloud during retracements. 
 Candle Colours 
By default, TrendMaster will colour your candles in black and white. White candles indicate an uptrend in an asset and the candles will not change colour until the trend has reversed and a counter-trend signal has been printed. Black candles indicate a downtrend, they will remain black until a counter-trend long signal candle has been printed.
 Setting Up The Indicator 
TrendMaster is optimised for Heikin-Ashi candles. Using candles with smoothing applied decreases the likelihood of whipsaw losses and provides a stable visual representation of the trend. Ensure you have applied Heikin-Ashi candles to your chart before continuing. You can customise to any style of your choice provided the candle borders and wicks are set to a uniform colour that contrasts the chart background. 
 Entries and Exits 
A  long  signal candle is a  white  Heikin-Ashi candle that closes  above  the cloud. A  short  signal candle is a  white  Heikin-Ashi candle that closes  below  the cloud. Entries are taken with a pending order placed at the wick with a reasonable margin for error. 
 Upgrading 
The full version of TrendMaster contains significantly more functionality including coloured signal candles, stop loss and trailing take profit management, alerts and much more.
 Our Story 
Founded in 2018 by IchimokuScholar and C00kie, TrendMaster is a team that produces technical analysis indicators with an emphasis on simplicity and noise reduction. We support a large community with educational content, automated market scanners and mentoring in our private chat rooms. We produce technical analysis indicators geared primarily towards the emerging Cryptocurrency asset class. We provide educational material to assist trader development and host a large online trend following community. All of our products are designed to help traders distinguish relevant information from background noise. Our indicators encourage disciplined trade management to maximise the opportunity captured while minimising losses.
 IchimokuScholar 
IchimokuScholar – In 2017 I retired from a career in higher education to focus on Trading. I like to trade long term trends, focusing primarily on continuation setups. I am dedicated to sharing my knowledge of trading and take great pleasure in simplifying technical analysis for newer traders.
 C00kie 
I started trading crypto in 2017 and immediately started coding a bunch of tools to improve my quality of life. Some definitely worked out better than others. Like to trade the higher timeframes and drawing horizontal lines on charts. I am also pretty much obligated to like cookies.
Price Action Brooks ProPrice Action Brooks Pro (PABP) - Professional Trading Indicator
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 OVERVIEW
Price Action Brooks Pro (PABP) is a professional-grade TradingView indicator developed based on Al Brooks' Price Action trading methodology. It integrates decades of Al Brooks' trading experience and price action analysis techniques into a comprehensive technical analysis tool, helping traders accurately interpret market structure and identify trading opportunities.
• Applicable Markets: Stocks, Futures, Forex, Cryptocurrencies
• Timeframes: 1-minute to Daily (5-minute chart recommended)
• Theoretical Foundation: Al Brooks Price Action Trading Method
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 CORE FEATURES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1️⃣ INTELLIGENT GAP DETECTION SYSTEM
Automatically identifies and marks three critical types of gaps in the market.
TRADITIONAL GAP
• Detects complete price gaps between bars
• Upward gap: Current bar's low > Previous bar's high
• Downward gap: Current bar's high < Previous bar's low
• Hollow border design - doesn't obscure price action
• Color coding: Upward gaps (light green), Downward gaps (light pink)
• Adjustable border: 1-5 pixel width options
TAIL GAP
• Detects price gaps between bar wicks/shadows
• Analyzes across 3 bars for precision
• Identifies hidden market structure
BODY GAP
• Focuses only on gaps between bar bodies (open/close)
• Filters out wick noise
• Disabled by default, enable as needed
Trading Significance:
• Gaps signal strong momentum
• Gap fills provide trading opportunities
• Consecutive gaps indicate trend continuation
✓ Independent alert system for all gap types
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
2️⃣ RTH BAR COUNT (Trading Session Counter)
Intelligent counting system designed for US stock intraday trading.
FEATURES
• RTH Only Display: Regular Trading Hours (09:30-15:00 EST)
• 5-Minute Chart Optimized: Displays every 3 bars (15-minute intervals)
• Daily Auto-Reset: Counting starts from 1 each trading day
SMART COLOR CODING
• 🔴 Red (Bars 18 & 48): Critical turning moments (1.5h & 4h)
• 🔵 Sky Blue (Multiples of 12): Hourly markers (12, 24, 36...)
• 🟢 Light Green (Bar 6): Half-hour marker (30 minutes)
• ⚫ Gray (Others): Regular 15-minute interval markers
Al Brooks Time Theory:
• Bar 18 (90 min): First 90 minutes determine daily trend
• Bar 48 (4 hours): Important afternoon turning point
• Hourly markers: Track institutional trading rhythm
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
3️⃣ FOUR-LINE EMA SYSTEM
Professional-grade configurable moving average system.
DEFAULT CONFIGURATION
• EMA 20: Short-term trend (Al Brooks' most important MA)
• EMA 50: Medium-short term reference
• EMA 100: Medium-long term confirmation
• EMA 200: Long-term trend and bull/bear dividing line
FLEXIBLE CUSTOMIZATION
Each EMA can be independently configured:
• On/Off toggle
• Data source selection (close/high/low/open, etc.)
• Custom period length
• Offset adjustment
• Color and transparency
COLOR SCHEME
• EMA 20: Dark brown, opaque (most important)
• EMA 50/100/200: Blue-purple gradient, 70% transparent
TRADING APPLICATIONS
• Bullish Alignment: Price > 20 > 50 > 100 > 200
• Bearish Alignment: 200 > 100 > 50 > 20 > Price
• EMA Confluence: All within <1% = major move precursor
Al Brooks Quote:
"The EMA 20 is the most important moving average. Almost all trading decisions should reference it."
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
4️⃣ PREVIOUS VALUES (Key Prior Price Levels)
Automatically marks important price levels that often act as support/resistance.
THREE INDEPENDENT CONFIGURATIONS
Each group configurable for:
• Timeframe (1D/60min/15min, etc.)
• Price source (close/high/low/open/CurrentOpen, etc.)
• Line style and color
• Display duration (Today/TimeFrame/All)
SMART OPEN PRICE LABELS ⭐
• Auto-displays "Open" label when CurrentOpen selected
• Label color matches line color
• Customizable label size
TYPICAL SETUP
• 1st Line: Previous close (Support/Resistance)
• 2nd Line: Previous high (Breakout target)
• 3rd Line: Previous low (Support level)
Al Brooks Magnet Price Theory:
• Previous open: Price frequently tests opening price
• Previous high/low: Strongest support/resistance
• Breakout confirmation: Breaking prior levels = trend continuation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
5️⃣ INSIDE & OUTSIDE BAR PATTERN RECOGNITION
Automatically detects core candlestick patterns from Al Brooks' theory.
ii PATTERN (Consecutive Inside Bars)
• Current bar contained within previous bar
• Two or more consecutive
• Labels: ii, iii, iiii (auto-accumulates)
• High-probability breakout setup
• Stop loss: Outside both bars
Trading Significance:
"Inside bars are one of the most reliable breakout setups, especially three or more consecutive inside bars." - Al Brooks
OO PATTERN (Consecutive Outside Bars)
• Current bar engulfs previous bar
• Two or more consecutive
• Labels: oo, ooo (auto-accumulates)
• Indicates indecision or volatility increase
ioi PATTERN (Inside-Outside-Inside)
• Three-bar combination: Inside → Outside → Inside
• Auto-detected and labeled
• Tug-of-war pattern
• Breakout direction often very strong
SMART LABEL SYSTEM
• Auto-accumulation counting
• Dynamic label updates
• Customizable size and color
• Positioned above bars
✓ Independent alerts for all patterns
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 USE CASES
INTRADAY TRADING
✓ Bar Count (timing rhythm)
✓ Traditional Gap (strong signals)
✓ EMA 20 + 50 (quick trend)
✓ ii/ioi Patterns (breakout points)
SWING TRADING
✓ Previous Values (key levels)
✓ EMA 20 + 50 + 100 (trend analysis)
✓ Gaps (trend confirmation)
✓ iii Patterns (entry timing)
TREND FOLLOWING
✓ All four EMAs (alignment analysis)
✓ Gaps (continuation signals)
✓ Previous Values (targets)
BREAKOUT TRADING
✓ iii Pattern (high-reliability setup)
✓ Previous Values (targets)
✓ EMA 20 (trend direction)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎨 DESIGN FEATURES
PROFESSIONAL COLOR SCHEME
• Gaps: Hollow borders + light colors
• Bar Count: Smart multi-color coding
• EMAs: Gradient colors + transparency hierarchy
• Previous Values: Customizable + smart labels
CLEAR VISUAL HIERARCHY
• Important elements: Opaque (EMA 20, bar count)
• Reference elements: Semi-transparent (other EMAs, gaps)
• Hollow design: Doesn't obscure price action
USER-FRIENDLY INTERFACE
• Clear functional grouping
• Inline layout saves space
• All colors and sizes customizable
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📚 AL BROOKS THEORY CORE
READING PRICE ACTION
"Don't try to predict the market, read what the market is telling you."
PABP converts core concepts into visual tools:
• Trend Assessment: EMA system
• Time Rhythm: Bar Count
• Market Structure: Gap analysis
• Trade Setups: Inside/Outside Bars
• Support/Resistance: Previous Values
PROBABILITY THINKING
• ii pattern: Medium probability
• iii pattern: High probability
• iii + EMA 20 support: Very high probability
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ TECHNICAL SPECIFICATIONS
• Pine Script Version: v6
• Maximum Objects: 500 lines, 500 labels, 500 boxes
• Alert Functions: 8 independent alerts
• Supported Timeframes: All (5-min recommended for Bar Count)
• Compatibility: All TradingView plans, Mobile & Desktop
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 RECOMMENDED INITIAL SETTINGS
GAPS
• Traditional Gap: ✓
• Tail Gap: ✓
• Border Width: 2
BAR COUNT
• Use Bar Count: ✓
• Label Size: Normal
EMA
• EMA 20: ✓
• EMA 50: ✓
• EMA 100: ✓
• EMA 200: ✓
PREVIOUS VALUES
• 1st: close (Previous close)
• 2nd: high (Previous high)
• 3rd: low (Previous low)
INSIDE & OUTSIDE BAR
• All patterns: ✓
• Label Size: Large
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌟 WHY CHOOSE PABP?
✅ Solid Theoretical Foundation
Based on Al Brooks' decades of trading experience
✅ Complete Professional Features
Systematizes complex price action analysis
✅ Highly Customizable
Every feature adjustable to personal style
✅ Excellent Performance
Optimized code ensures smooth experience
✅ Continuous Updates
Constantly improving based on feedback
✅ Suitable for All Levels
Benefits beginners to professionals
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📖 RECOMMENDED LEARNING
Al Brooks Books:
• "Trading Price Action Trends"
• "Trading Price Action Trading Ranges"
• "Trading Price Action Reversals"
Learning Path:
1. Understand basic candlestick patterns
2. Learn EMA applications
3. Master market structure analysis
4. Develop trading system
5. Continuous practice and optimization
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ RISK DISCLOSURE
IMPORTANT NOTICE:
• For educational and informational purposes only
• Does not constitute investment advice
• Past performance doesn't guarantee future results
• Trading involves risk and may result in capital loss
• Trade according to your risk tolerance
• Test thoroughly in demo account first
RESPONSIBLE TRADING:
• Always use stop losses
• Control position sizes reasonably
• Don't overtrade
• Continuous learning and improvement
• Keep trading journal
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📜 COPYRIGHT
Price Action Brooks Pro (PABP)
Author: © JimmC98
License: Mozilla Public License 2.0
Pine Script Version: v6
Acknowledgments:
Thanks to Dr. Al Brooks for his contributions to price action trading. This indicator is developed based on his theories.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Experience professional-grade price action analysis now!
"The best traders read price action, not indicators. But when indicators help you read price action better, use them." - Al Brooks
Quantum Market Harmonics [QMH]# Quantum Market Harmonics   - TradingView Script Description
## 📊 OVERVIEW
Quantum Market Harmonics (QMH) is a comprehensive multi-dimensional trading indicator that combines four independent analytical frameworks to generate high-probability trading signals with quantifiable confidence scores. Unlike simple indicator combinations that display multiple tools side-by-side, QMH synthesizes temporal analysis, inter-market correlations, behavioral psychology, and statistical probabilities into a unified confidence scoring system that requires agreement across all dimensions before generating a confirmed signal.
---
## 🎯 WHAT MAKES THIS SCRIPT ORIGINAL
### The Core Innovation: Weighted Confidence Scoring
Most indicators provide binary signals (buy/sell) or display multiple indicators separately, leaving traders to interpret conflicting information. QMH's originality lies in its weighted confidence scoring system that:
1. **Combines Four Independent Methods** - Each framework (described below) operates independently and contributes points to an overall confidence score
2. **Requires Multi-Dimensional Agreement** - Signals only fire when multiple frameworks align, dramatically reducing false positives
3. **Quantifies Signal Strength** - Every signal includes a numerical confidence rating (0-100%), allowing traders to filter by quality
4. **Adapts to Market Conditions** - Different market regimes activate different component combinations
### Why This Combination is Useful
Traditional approaches suffer from:
- **Single-dimension bias**: RSI shows oversold, but trend is still down
- **Conflicting signals**: MACD says buy, but volume is weak
- **No prioritization**: All signals treated equally regardless of strength
QMH solves these problems by requiring multiple independent confirmations and weighting each component's contribution to the final signal. This multi-dimensional approach mirrors how professional traders analyze markets - not relying on one indicator, but waiting for multiple pieces of evidence to align.
---
## 🔬 THE FOUR ANALYTICAL FRAMEWORKS
### 1. Temporal Fractal Resonance (TFR)
**What It Does:**
Analyzes trend alignment across four different timeframes simultaneously (15-minute, 1-hour, 4-hour, and daily) to identify periods of multi-timeframe synchronization.
**How It Works:**
- Uses `request.security()` with `lookahead=barmerge.lookahead_off` to retrieve confirmed price data from each timeframe
- Calculates "fractal strength" for each timeframe using this formula:
  ```
  Fractal Strength = (Rate of Change / Standard Deviation) × 100
  ```
  This creates a momentum-to-volatility ratio that measures trend strength relative to noise
- Computes a Resonance Index when all four timeframes show the same directional bias
- The index averages the absolute strength values when all timeframes align
**Why This Method:**
Fractal Market Hypothesis suggests that price patterns repeat across different time scales. When trends align from short-term (15m) to long-term (Daily), the probability of trend continuation increases substantially. The momentum/volatility ratio filters out low-conviction moves where volatility dominates direction.
**Contribution to Confidence Score:**
- TFR Bullish = +25 points
- TFR Bearish = +25 points (to bearish confidence)
- No alignment = 0 points
---
### 2. Cross-Asset Quantum Entanglement (CAQE)
**What It Does:**
Analyzes correlation patterns between the current asset and three reference markets (Bitcoin, US Dollar Index, and Volatility Index) to identify both normal correlation behavior and anomalous breakdowns that often precede significant moves.
**How It Works:**
- Retrieves price data from BTC (BINANCE:BTCUSDT), DXY (TVC:DXY), and VIX (TVC:VIX) using confirmed bars
- Calculates Pearson correlation coefficient between the main asset and each reference:
  ```
  Correlation = Covariance(X,Y) / (StdDev(X) × StdDev(Y))
  ```
- Computes an Intermarket Pressure Index by weighting each reference asset's momentum by its correlation strength:
  ```
  Pressure = (Corr₁ × ROC₁ + Corr₂ × ROC₂ + Corr₃ × ROC₃) / 3
  ```
- Detects "correlation breakdowns" when average correlation drops below 0.3
**Why This Method:**
Markets don't operate in isolation. Inter-market analysis (developed by John Murphy) recognizes that:
- Crypto assets often correlate with Bitcoin
- Risk assets inversely correlate with VIX (fear gauge)
- Dollar strength affects commodity and crypto prices
When these normal correlations break down, it signals potential regime changes. The term "quantum" reflects the interconnected nature of these relationships - like quantum entanglement where distant particles influence each other.
**Contribution to Confidence Score:**
- CAQE Bullish (positive pressure, stable correlations) = +25 points
- CAQE Bearish (negative pressure, stable correlations) = +25 points (to bearish)
- Correlation breakdown = Warning marker (potential reversal zone)
---
### 3. Adaptive Market Psychology Matrix (AMPM)
**What It Does:**
Classifies the current market emotional state into six distinct categories by analyzing the interaction between momentum (RSI), volume behavior, and volatility acceleration (ATR change).
**How It Works:**
The system evaluates three metrics:
1. **RSI (14-period)**: Measures overbought/oversold conditions
2. **Volume Analysis**: Compares current volume to 20-period average
3. **ATR Rate of Change**: Detects volatility acceleration
Based on these inputs, the market is classified into:
- **Euphoria**: RSI > 80, volume spike present, volatility rising (extreme bullish emotion)
- **Greed**: RSI > 70, normal volume (moderate bullish emotion)
- **Neutral**: RSI 40-60, declining volatility (balanced state)
- **Fear**: RSI 40-60, low volatility (uncertainty without panic)
- **Panic**: RSI < 30, volume spike present, volatility rising (extreme bearish emotion)
- **Despair**: RSI < 20, normal volume (capitulation phase)
**Why This Method:**
Behavioral finance principles (Kahneman, Tversky) show that markets follow predictable emotional cycles. Extreme psychological states often mark reversal points because:
- At Euphoria/Greed peaks, everyone bullish has already bought (no buyers left)
- At Panic/Despair bottoms, everyone bearish has already sold (no sellers left)
AMPM provides contrarian signals at these extremes while respecting trends during Fear and Greed intermediate states.
**Contribution to Confidence Score:**
- Psychology Bullish (Panic/Despair + RSI < 35) = +15 points
- Psychology Bearish (Euphoria/Greed + RSI > 65) = +15 points
- Neutral states = 0 points
---
### 4. Time-Decay Probability Zones (TDPZ)
**What It Does:**
Creates dynamic support and resistance zones based on statistical probability distributions that adapt to changing market volatility, similar to Bollinger Bands but with enhancements for trend environments.
**How It Works:**
- Calculates a 20-period Simple Moving Average as the basis line
- Computes standard deviation of price over the same period
- Creates four probability zones:
  - **Extreme Upper**: Basis + 2.5 standard deviations (≈99% probability boundary)
  - **Upper Zone**: Basis + 1.5 standard deviations
  - **Lower Zone**: Basis - 1.5 standard deviations
  - **Extreme Lower**: Basis - 2.5 standard deviations (≈99% probability boundary)
- Dynamically adjusts zone width based on ATR (Average True Range):
  ```
  Adjusted Upper = Upper Zone + (ATR × adjustment_factor)
  Adjusted Lower = Lower Zone - (ATR × adjustment_factor)
  ```
- The adjustment factor increases during high volatility, widening the zones
**Why This Method:**
Traditional support/resistance levels are static and don't account for volatility regimes. TDPZ zones are probability-based and mean-reverting:
- Price has ≈99% probability of staying within extreme zones in normal conditions
- Touches to extreme zones represent statistical outliers (high-probability reversal opportunities)
- Zone expansion/contraction reflects volatility regime changes
- ATR adjustment prevents false signals during unusual volatility
The "time-decay" concept refers to mean reversion - the further price moves from the basis, the higher the probability of eventual return.
**Contribution to Confidence Score:**
- Price in Lower Extreme Zone = +15 points (bullish reversal probability)
- Price in Upper Extreme Zone = +15 points (bearish reversal probability)
- Price near basis = 0 points
---
## 🎯 HOW THE CONFIDENCE SCORING SYSTEM WORKS
### Signal Generation Formula
QMH calculates separate Bullish and Bearish confidence scores each bar:
**Bullish Confidence (0-100%):**
```
Base Score:                    20 points
+ TFR Bullish:                 25 points (if all 4 timeframes aligned bullish)
+ CAQE Bullish:                25 points (if intermarket pressure positive)
+ AMPM Bullish:                15 points (if Panic/Despair contrarian signal)
+ TDPZ Bullish:                15 points (if price in lower probability zones)
                              ─────────
Maximum Possible:             100 points
```
**Bearish Confidence (0-100%):**
```
Base Score:                    20 points
+ TFR Bearish:                 25 points (if all 4 timeframes aligned bearish)
+ CAQE Bearish:                25 points (if intermarket pressure negative)
+ AMPM Bearish:                15 points (if Euphoria/Greed contrarian signal)
+ TDPZ Bearish:                15 points (if price in upper probability zones)
                              ─────────
Maximum Possible:             100 points
```
### Confirmed Signal Requirements
A **QBUY** (Quantum Buy) signal generates when:
1. Bullish Confidence ≥ User-defined threshold (default 60%)
2. Bullish Confidence > Bearish Confidence
3. No active sell signal present
A **QSELL** (Quantum Sell) signal generates when:
1. Bearish Confidence ≥ User-defined threshold (default 60%)
2. Bearish Confidence > Bullish Confidence
3. No active buy signal present
### Why This Approach Is Different
**Example Comparison:**
Traditional RSI Strategy:
- RSI < 30 → Buy signal
- Result: May buy into falling knife if trend remains bearish
QMH Approach:
- RSI < 30 → Psychology shows Panic (+15 points)
- But requires additional confirmation:
  - Are all timeframes also showing bullish reversal? (+25 points)
  - Is intermarket pressure turning positive? (+25 points)
  - Is price at a statistical extreme? (+15 points)
- Only when total ≥ 60 points does a QBUY signal fire
This multi-layer confirmation dramatically reduces false signals while maintaining sensitivity to genuine opportunities.
---
## 🚫 NO REPAINT GUARANTEE
**QMH is designed to be 100% repaint-free**, which is critical for honest backtesting and reliable live trading.
### Technical Implementation:
1. **All Multi-Timeframe Data Uses Confirmed Bars**
   ```pinescript
   tf1_close = request.security(syminfo.tickerid, "15", close , lookahead=barmerge.lookahead_off)
   ```
   Using `close ` instead of `close ` ensures we only reference the previous confirmed bar, not the current forming bar.
2. **Lookahead Prevention**
   ```pinescript
   lookahead=barmerge.lookahead_off
   ```
   This parameter prevents the function from accessing future data that wouldn't be available in real-time.
3. **Signal Timing**
   Signals appear on the bar AFTER all conditions are met, not retroactively on the bar where conditions first appeared.
### What This Means for Users:
- **Backtest Accuracy**: Historical signals match exactly what you would have seen in real-time
- **No Disappearing Signals**: Once a signal appears, it stays (though price may move against it)
- **Honest Performance**: Results reflect true predictive power, not hindsight optimization
- **Live Trading Reliability**: Alerts fire at the same time signals appear on the chart
The dashboard displays "✓ NO REPAINT" to confirm this guarantee.
---
## 📖 HOW TO USE THIS INDICATOR
### Basic Trading Strategy
**For Trend Followers:**
1. **Wait for Signal Confirmation**
   - QBUY label appears below a bar = Confirmed bullish entry opportunity
   - QSELL label appears above a bar = Confirmed bearish entry opportunity
2. **Check Confidence Score**
   - 60-70%: Moderate confidence (consider smaller position size)
   - 70-85%: High confidence (standard position size)
   - 85-100%: Very high confidence (consider larger position size)
3. **Enter Trade**
   - Long entry: Market or limit order near signal bar
   - Short entry: Market or limit order near signal bar
4. **Set Targets Using Probability Zones**
   - Long trades: Target the adjusted upper zone (lime line)
   - Short trades: Target the adjusted lower zone (red line)
   - Alternatively, target the basis line (yellow) for conservative exits
5. **Set Stop Loss**
   - Long trades: Below recent swing low minus 1 ATR
   - Short trades: Above recent swing high plus 1 ATR
**For Mean Reversion Traders:**
1. **Wait for Extreme Zones**
   - Price touches extreme lower zone (dotted red line below)
   - Price touches extreme upper zone (dotted lime line above)
2. **Confirm with Psychology**
   - At lower extreme: Look for Panic or Despair state
   - At upper extreme: Look for Euphoria or Greed state
3. **Wait for Confidence Build**
   - Monitor dashboard until confidence exceeds threshold
   - Requires patience - extreme touches don't always reverse immediately
4. **Enter Reversal**
   - Target: Return to basis line (yellow SMA 20)
   - Stop: Beyond the extreme zone
**For Position Traders (Longer Timeframes):**
1. **Use Daily Timeframe**
   - Set chart to daily for longer-term signals
   - Signals will be less frequent but higher quality
2. **Require High Confidence**
   - Filter setting: Min Confidence Score 80%+
   - Only take the strongest multi-dimensional setups
3. **Confirm with Resonance Background**
   - Green tinted background = All timeframes bullish aligned
   - Red tinted background = All timeframes bearish aligned
   - Only enter when background tint matches signal direction
4. **Hold for Major Targets**
   - Long trades: Hold until extreme upper zone or opposite signal
   - Short trades: Hold until extreme lower zone or opposite signal
---
## 📊 DASHBOARD INTERPRETATION
The QMH Dashboard (top-right corner) provides real-time market analysis across all four dimensions:
### Dashboard Elements:
1. **✓ NO REPAINT**
   - Green confirmation that signals don't repaint
   - Always visible to remind users of signal integrity
2. **SIGNAL: BULL/BEAR XX%**
   - Shows dominant direction (whichever confidence is higher)
   - Displays current confidence percentage
   - Background color intensity reflects confidence level
3. **Psychology:  **
   - Current market emotional state
   - Color coded:
     - Orange = Euphoria (extreme bullish emotion)
     - Yellow = Greed (moderate bullish emotion)
     - Gray = Neutral (balanced state)
     - Purple = Fear (uncertainty)
     - Red = Panic (extreme bearish emotion)
     - Dark red = Despair (capitulation)
4. **Resonance:  **
   - Multi-timeframe alignment strength
   - Positive = All timeframes bullish aligned
   - Negative = All timeframes bearish aligned
   - Near zero = Timeframes not synchronized
   - Emoji indicator: 🔥 (bullish resonance) ❄️ (bearish resonance)
5. **Intermarket:  **
   - Cross-asset pressure measurement
   - Positive = BTC/DXY/VIX correlations supporting upside
   - Negative = Correlations supporting downside
   - Warning ⚠️ if correlation breakdown detected
6. **RSI:  **
   - Current RSI(14) reading
   - Background colors: Red (>70 overbought), Green (<30 oversold)
   - Status: OB (overbought), OS (oversold), or • (neutral)
7. **Status: READY BUY / READY SELL / WAIT**
   - Quick trade readiness indicator
   - READY BUY: Confidence ≥ threshold, bias bullish
   - READY SELL: Confidence ≥ threshold, bias bearish
   - WAIT: Confidence below threshold
### How to Use Dashboard:
**Before Entering a Trade:**
- Verify Status shows READY (not WAIT)
- Check that Resonance matches signal direction
- Confirm Psychology isn't contradicting (e.g., buying during Euphoria)
- Note Intermarket value - breakdowns (⚠️) suggest caution
**During a Trade:**
- Monitor Psychology shifts (e.g., from Fear to Greed in a long)
- Watch for Resonance changes that could signal exit
- Check for Intermarket breakdown warnings
---
## ⚙️ CUSTOMIZATION SETTINGS
### TFR Settings (Temporal Fractal Resonance)
- **Enable/Disable**: Turn TFR analysis on/off
- **Fractal Sensitivity** (5-50, default 14): 
  - Lower values = More responsive to short-term changes
  - Higher values = More stable, slower to react
  - Recommendation: 14 for balanced, 7 for scalping, 21 for position trading
### CAQE Settings (Cross-Asset Quantum Entanglement)
- **Enable/Disable**: Turn CAQE analysis on/off
- **Asset 1** (default BTC): Reference asset for correlation analysis
- **Asset 2** (default DXY): Second reference asset
- **Asset 3** (default VIX): Third reference asset
- **Correlation Length** (10-100, default 20):
  - Lower values = More sensitive to recent correlation changes
  - Higher values = More stable correlation measurements
  - Recommendation: 20 for most assets, 50 for less volatile markets
### Psychology Settings (Adaptive Market Psychology Matrix)
- **Enable/Disable**: Turn AMPM analysis on/off
- **Volume Spike Threshold** (1.0-5.0x, default 2.0):
  - Lower values = Detect smaller volume increases as spikes
  - Higher values = Only flag major volume surges
  - Recommendation: 2.0 for stocks, 1.5 for crypto
### Probability Settings (Time-Decay Probability Zones)
- **Enable/Disable**: Turn TDPZ visualization on/off
- **Probability Lookback** (20-200, default 50):
  - Lower values = Zones adapt faster to recent price action
  - Higher values = Zones based on longer statistical history
  - Recommendation: 50 for most uses, 100 for position trading
### Filter Settings
- **Min Confidence Score** (40-95%, default 60%):
  - Lower threshold = More signals, more false positives
  - Higher threshold = Fewer signals, higher quality
  - Recommendation: 60% for active trading, 75% for selective trading
### Visual Settings
- **Show Entry Signals**: Toggle QBUY/QSELL labels on chart
- **Show Probability Zones**: Toggle zone visualization
- **Show Psychology State**: Toggle dashboard display
---
## 🔔 ALERT CONFIGURATION
QMH includes four alert conditions that can be configured via TradingView's alert system:
### Available Alerts:
1. **Quantum Buy Signal**
   - Fires when: Confirmed QBUY signal generates
   - Message includes: Confidence percentage
   - Use for: Entry notifications
2. **Quantum Sell Signal**
   - Fires when: Confirmed QSELL signal generates
   - Message includes: Confidence percentage
   - Use for: Entry notifications or exit warnings
3. **Market Panic**
   - Fires when: Psychology state reaches Panic
   - Use for: Contrarian opportunity alerts
4. **Market Euphoria**
   - Fires when: Psychology state reaches Euphoria
   - Use for: Reversal warning alerts
### How to Set Alerts:
1. Right-click on chart → "Add Alert"
2. Condition: Select "Quantum Market Harmonics"
3. Choose alert type from dropdown
4. Configure expiration, frequency, and notification method
5. Create alert
**Recommendation**: Set alerts for Quantum Buy/Sell signals with "Once Per Bar Close" frequency to avoid intra-bar false triggers.
---
## 💡 BEST PRACTICES
### For All Users:
1. **Backtest First**
   - Test on your specific market and timeframe before live trading
   - Different assets may perform better with different confidence thresholds
   - Verify that the No Repaint guarantee works as described
2. **Paper Trade**
   - Practice with signals on a demo account first
   - Understand typical signal frequency for your timeframe
   - Get comfortable with the dashboard interpretation
3. **Risk Management**
   - Never risk more than 1-2% of capital per trade
   - Use proper stop losses (not just mental stops)
   - Position size based on confidence score (larger size at higher confidence)
4. **Consider Context**
   - QMH signals work best in clear trends or at extremes
   - During tight consolidation, false signals increase
   - Major news events can invalidate technical signals
### Optimal Use Cases:
**QMH Works Best When:**
- ✅ Markets are trending (up or down)
- ✅ Volatility is normal to elevated
- ✅ Price reaches probability zone extremes
- ✅ Multiple timeframes align
- ✅ Clear inter-market relationships exist
**QMH Is Less Effective When:**
- ❌ Extremely low volatility (zones contract too much)
- ❌ Sideways choppy markets (conflicting timeframes)
- ❌ Flash crashes or news events (correlations break down)
- ❌ Very illiquid assets (irregular price action)
### Session Considerations:
- **24/7 Markets (Crypto)**: Works on all sessions, but signals may be more reliable during high-volume periods (US/European trading hours)
- **Forex**: Best during London/New York overlap when volume is highest
- **Stocks**: Most reliable during regular trading hours (not pre-market/after-hours)
---
## ⚠️ LIMITATIONS AND RISKS
### This Indicator Cannot:
- **Predict Black Swan Events**: Sudden unexpected events invalidate technical analysis
- **Guarantee Profits**: No indicator is 100% accurate; losses will occur
- **Replace Risk Management**: Always use stop losses and proper position sizing
- **Account for Fundamental Changes**: Company news, economic data, etc. can override technical signals
- **Work in All Market Conditions**: Less effective during extreme low volatility or major news events
### Known Limitations:
1. **Multi-Timeframe Lag**: Uses confirmed bars (`close `), so signals appear one bar after conditions met
2. **Correlation Dependency**: CAQE requires sufficient history; may be less reliable on newly listed assets
3. **Computational Load**: Multiple `request.security()` calls may cause slower performance on older devices
4. **Repaint of Dashboard**: Dashboard updates every bar (by design), but signals themselves don't repaint
### Risk Warnings:
- Past performance doesn't guarantee future results
- Backtesting results may not reflect actual trading results due to slippage, commissions, and execution delays
- Different markets and timeframes may produce different results
- The indicator should be used as a tool, not as a standalone trading system
- Always combine with your own analysis, risk management, and trading plan
---
## 🎓 EDUCATIONAL CONCEPTS
This indicator synthesizes several established financial theories and technical analysis concepts:
### Academic Foundations:
1. **Fractal Market Hypothesis** (Edgar Peters)
   - Markets exhibit self-similar patterns across time scales
   - Implemented via multi-timeframe resonance analysis
2. **Behavioral Finance** (Kahneman & Tversky)
   - Investor psychology drives market inefficiencies
   - Implemented via market psychology state classification
3. **Intermarket Analysis** (John Murphy)
   - Asset classes correlate and influence each other predictably
   - Implemented via cross-asset correlation monitoring
4. **Mean Reversion** (Statistical Arbitrage)
   - Prices tend to revert to statistical norms
   - Implemented via probability zones and standard deviation bands
5. **Multi-Timeframe Analysis** (Technical Analysis Standard)
   - Higher timeframe trends dominate lower timeframe noise
   - Implemented via fractal resonance scoring
### Learning Resources:
To better understand the concepts behind QMH:
- Read "Intermarket Analysis" by John Murphy (for CAQE concepts)
- Study "Thinking, Fast and Slow" by Daniel Kahneman (for psychology concepts)
- Review "Fractal Market Analysis" by Edgar Peters (for TFR concepts)
- Learn about Bollinger Bands (for TDPZ foundation)
---
## 🔄 VERSION HISTORY AND UPDATES
**Current Version: 1.0**
This is the initial public release. Future updates will be published using TradingView's Update feature (not as separate publications). Planned improvements may include:
- Additional reference assets for CAQE
- Optional machine learning-based weight optimization
- Customizable psychology state definitions
- Alternative probability zone calculations
- Performance metrics tracking
Check the "Updates" tab on the script page for version history.
---
## 📞 SUPPORT AND FEEDBACK
### How to Get Help:
1. **Read This Description First**: Most questions are answered in the detailed sections above
2. **Check Comments**: Other users may have asked similar questions
3. **Post Comments**: For general questions visible to the community
4. **Use TradingView Messaging**: For private inquiries (if available)
### Providing Useful Feedback:
When reporting issues or suggesting improvements:
- Specify your asset, timeframe, and settings
- Include a screenshot if relevant
- Describe expected vs. actual behavior
- Check if issue persists with default settings
### Continuous Improvement:
This indicator will evolve based on user feedback and market testing. Constructive suggestions for improvements are always welcome.
---
## ⚖️ DISCLAIMER
This indicator is provided for **educational and informational purposes only**. It does **not constitute financial advice, investment advice, trading advice, or any other type of advice**.
**Important Disclaimers:**
- You should **not** rely solely on this indicator to make trading decisions
- Always conduct your own research and due diligence
- Past performance is not indicative of future results
- Trading and investing involve substantial risk of loss
- Only trade with capital you can afford to lose
- Consider consulting with a licensed financial advisor before trading
- The author is not responsible for any trading losses incurred using this indicator
**By using this indicator, you acknowledge:**
- You understand the risks of trading
- You take full responsibility for your trading decisions
- You will use proper risk management techniques
- You will not hold the author liable for any losses
---
## 🙏 ACKNOWLEDGMENTS
This indicator builds upon the collective knowledge of the technical analysis and trading community. While the specific implementation and combination are original, the underlying concepts draw from:
- The Pine Script community on TradingView
- Academic research in behavioral finance and market microstructure
- Classical technical analysis methods developed over decades
- Open-source indicators that demonstrate best practices in Pine Script coding
Special thanks to TradingView for providing the platform and Pine Script language that make indicators like this possible.
---
## 📚 ADDITIONAL RESOURCES
**Pine Script Documentation:**
- Official Pine Script Manual: www.tradingview.com
**Related Concepts to Study:**
- Multi-timeframe analysis techniques
- Correlation analysis in financial markets
- Behavioral finance principles
- Mean reversion strategies
- Bollinger Bands methodology
**Recommended TradingView Tools:**
- Strategy Tester: To backtest signal performance
- Bar Replay: To see how signals develop in real-time
- Alert System: To receive notifications of new signals
---
**Thank you for using Quantum Market Harmonics. Trade safely and responsibly.**
SMC 自動交易 - 4HR- BTC適用# SMC Automated Trading Strategy Whitepaper - Stepped Enhanced Edition
## 1. Strategy Overview
This strategy is designed based on the Smart Money Concept (SMC), integrating Order Block (OB), Change of Character (CHoCH), and strict pullback confirmation conditions. The goal is to enhance trading accuracy and strictly control risk, specifically tailored for trading competitions, meeting the requirements of stability and efficiency.
### Core Strategy Concepts:
- Precise identification of key trend reversal points.
- Strict pullback confirmation to avoid chasing tops or bottoms.
- Clear risk management and take-profit mechanisms to maintain stable risk-reward ratio.
- Supports trading time filtering (Kill Zone) to capture prime volatility windows.
- Multiple visual aids for quick in-trade signal recognition.
## 2. Strategy Logic Flow
### 1. Kill Zone (Optional Activation)
- Default trading time: Taiwan time 15:00 - 18:00.
- Purpose: Focus on high-volatility periods to reduce false signals in choppy markets.
### 2. Order Block Detection
- Current candle range exceeds the previous candle by a specified multiplier (default 0.8).
- Bullish OB: Bullish candle with expanded range.
- Bearish OB: Bearish candle with expanded range.
- Flexible OB sensitivity adjustment according to market volatility.
### 3. Change of Character (CHoCH)
- Initial trend reversal confirmation:
- Bullish CHoCH: Close above previous candle’s high.
- Bearish CHoCH: Close below previous candle’s low.
### 4. Pullback Confirmation (Core Condition)
- Avoid premature entries by requiring a pullback to the prior OB:
- Long: Pullback touches the previous Bullish OB high.
- Short: Pullback touches the previous Bearish OB low.
### 5. Fair Value Gap (FVG) Detection (Optional)
- Detect price imbalances as additional confirmation signals.
## 3. Entry Logic
### Long Position:
- Previous Bullish OB is formed.
- Current candle completes a pullback to the prior OB high.
- Current candle closes above the previous high (CHoCH confirmation).
- (Optional) Within Kill Zone.
### Short Position:
- Previous Bearish OB is formed.
- Current candle completes a pullback to the prior OB low.
- Current candle closes below the previous low (CHoCH confirmation).
- (Optional) Within Kill Zone.
## 4. Risk Management & Exit Strategy
### Stop Loss:
- Long: Current candle’s low minus buffer points (default 50 points).
- Short: Current candle’s high plus buffer points (default 50 points).
### Take Profit:
- Default Risk-Reward Ratio (RR): 2.0 (customizable).
- Automatically calculates target take-profit level.
### Full Automation:
- This is a fully automated strategy. Orders are placed automatically upon conditions being met, requiring no manual intervention.
## 5. Visual Aids
- Bullish OB: Green upward triangle.
- Bearish OB: Red downward triangle.
- Bullish CHoCH: Blue circle.
- Bearish CHoCH: Orange circle.
- FVG: Highlighted zones (optional).
> **Advantage:** Quick market status recognition during trades, improving strategy transparency.
## 6. Strategy Advantages
✅ Dual trend reversal confirmation: OB + CHoCH.
✅ Strict pullback requirement to reduce false breakouts.
✅ Clear risk control and stable risk-reward ratio.
✅ Visual aids + time filter for clear in-trade decisions.
✅ Fully automated trading reduces human error.
## 7. Application Scenarios
- Trading competitions: Designed for high win-rate and strict risk control.
- FTMO and similar evaluation challenges.
- Intraday or swing trading strategy frameworks.
- High-volatility assets: Crypto / Forex / Index CFDs.
## 8. Risk Warning
- Strategy is based on historical backtesting; live trading should consider slippage and liquidity risks.
- During high volatility periods, use proper money management tools and strictly execute stop losses.
## 9. Version Note
Version: Stepped Enhanced Edition (Updated April 2025)
Developer: natwad3000
PRIMO+ (dc_77)PRIMO+ (dc_77) - Advanced Multi-Session Trading System 
 Overview 
This comprehensive trading indicator combines market structure analysis, Fair Value Gap (FVG) detection, and multi-timeframe bias assessment to identify high-probability trading opportunities during key market sessions. The system operates on a sophisticated framework that evaluates market sentiment across multiple reference points and provides complete trade management projections.
 Core Features 
 Multi-Timeframe Bias System 
The indicator establishes directional bias by analyzing price action relative to four critical reference points:
- 18:00 NY Open: Previous day's market opening level
- 00:00 Midnight: Daily reset reference price
- 09:30 NY Open: Current session market opening
- 09:45 NY Open: Key institutional entry timeframe
 Bias Logic: 
- LONGS Bias: Price trading below ALL reference levels (institutional accumulation zone)
- SHORTS Bias: Price trading above ALL reference levels (institutional distribution zone)
- BEWARE: Mixed signals across reference points (avoid trading)
 Four-Session Architecture 
The system monitors four distinct trading sessions, each representing different market participant activities:
1. Session 1 (09:45-10:20): London/NY overlap - high liquidity period
2. Session 2 (10:45-11:30): NY continuation - institutional positioning
3. Session 3 (13:50-14:10): Pre-close positioning - smart money moves
4. Session 4 (15:50-16:05): Market close - final institutional plays
Each session can be individually enabled/disabled with custom time ranges.
 Advanced Fair Value Gap Detection 
The indicator identifies three-candle imbalances using sophisticated filtering:
 FVG Classification: 
- Bullish FVGs: Gaps between candle 3 high and candle 1 low (upward imbalance)
- Bearish FVGs: Gaps between candle 1 high and candle 3 low (downward imbalance)
 Dynamic Filtering System: 
- Bias alignment filtering (only shows FVGs aligned with overall market bias)
- Trend direction filtering (FVGs must align with market structure)
- Session-based activation/deactivation
- Real-time gap validation and invalidation
 Market Structure Shift (MSS) Detection 
Proprietary swing-based algorithm identifies significant market structure changes:
- Bullish MSS: Price breaks above previous significant high with trend confirmation
- Bearish MSS: Price breaks below previous significant low with trend confirmation
- Dynamic Lookback: Configurable swing detection sensitivity (4-5 bar pivots)
 Comprehensive Risk Management System 
When conditions align, the indicator projects complete trade setups:
 Entry Methodology: 
- FVG center point calculated using mathematical precision
- Entry triggered only when MSS occurs with aligned bias
- Confirmation timer prevents false signals (22-second default validation)
 Stop Loss Calculation: 
- Dynamic SL placement based on FVG displacement
- 1.15x multiplier applied to gap distance for optimal risk positioning
- Adaptive to market volatility and gap size
 Take Profit Projections: 
- Five sequential TP levels (1:1 through 1:5 risk-reward ratios)
- Mathematical progression based on initial risk calculation
- Visual projection lines extend into future bars
 Visual Signal System 
Trade Signals:
- Green up arrows for bullish setups (positioned below stop loss level)
- Red down arrows for bearish setups (positioned above stop loss level)
- Optional date stamps showing signal generation time
 Projection Lines: 
- Entry level (gray dotted line)
- Stop loss level (red line)
- Multiple take profit levels (green lines with ratio labels)
- Customizable line styles and widths
 Alert Integration 
Real-time notifications when complete setups form:
- Bar-close confirmation prevents false alerts
- Separate bull/bear alert messages
- Integration with TradingView's alert system
- Optional sound notifications
 Configuration Options 
 Display Settings 
- Session Anchor Lines: Visual markers for session starts
- MSS Lines: Market structure shift visualization
- Trend Lines: ZigZag pattern display
- Signal Arrows: Entry point indicators
- Date Labels: Timestamp display for signals
 Color Customization 
- Bullish FVG color and transparency
- Bearish FVG color and transparency
- MSS line colors (separate bull/bear)
- Projection line colors
- Stop loss and take profit colors
 Risk Parameters 
- Confirmation time adjustment (prevents false signals)
- Risk-reward multiplier customization
- Projection line extension length
- Label and arrow size options
 Usage Guidelines 
 Trading Sessions 
Best performance during specified session times when institutional activity is highest. The system automatically adjusts for New York timezone.
 Entry Criteria 
All conditions must align for signal generation:
1. Appropriate market bias established
2. FVG present and validated within session
3. Market structure shift in aligned direction
4. Confirmation timer validation passed
 Risk Management 
- Always respect projected stop loss levels
- Consider partial profit-taking at projected TP levels
 Important Disclaimers 
This indicator is for educational and analytical purposes. All trading involves risk, and past performance does not guarantee future results. Users should:
- Practice proper risk management
- Backtest thoroughly before live trading
- Understand all system components before use
- Never risk more than affordable loss amounts
The system provides analysis tools and projections but does not guarantee profitable trades. Market conditions change rapidly, and no indicator can predict future price movements with certainty.
 Additional Risk Warnings and Disclaimers 
 Trading Addiction and Mental Health:  Trading can become psychologically addictive and may lead to compulsive behavior, financial ruin, and severe emotional distress. If you find yourself unable to stop trading, risking money you cannot afford to lose, neglecting personal relationships or responsibilities, or experiencing extreme emotional swings based on trading outcomes, please seek help from a qualified mental health professional. The excitement of potential profits can mask serious underlying issues with impulse control and risk-taking behavior.
 No Guarantee of Performance:  This indicator has not been independently verified or audited. Backtesting results may not reflect actual trading conditions due to market slippage, execution delays, spread variations, and changing market dynamics. Historical performance is not indicative of future results, and all trading strategies can and do lose money.
 Market Risk Acknowledgment:  Financial markets can experience extreme volatility, flash crashes, liquidity crises, and unprecedented events that render technical analysis ineffective. Economic announcements, geopolitical events, and central bank policies can cause rapid price movements that invalidate technical setups instantly.
 Position Sizing and Capital Preservation:  Never risk more than 1-2% of your total account on any single trade. Proper position sizing is more important than any trading signal. Multiple consecutive losses are normal and expected - ensure your account can withstand extended drawdown periods without impairing your ability to continue trading or meet personal financial obligations.
 
Educational Purpose Only:  This tool is designed for educational analysis and should not be construed as personalized financial advice. Consult with qualified financial advisors before making investment decisions. The creators assume no responsibility for any financial losses incurred through use of this indicator.
Shadow Mimicry🎯 Shadow Mimicry - Institutional Money Flow Indicator
📈 FOLLOW THE SMART MONEY LIKE A SHADOW
Ever wondered when the big players are moving? Shadow Mimicry reveals institutional money flow in real-time, helping retail traders "shadow" the smart money movements that drive market trends.
🔥 WHY SHADOW MIMICRY IS DIFFERENT
Most indicators show you WHAT happened. Shadow Mimicry shows you WHO is acting.
Traditional indicators focus on price movements, but Shadow Mimicry goes deeper - it analyzes the relationship between price positioning and volume to detect when large institutional players are accumulating or distributing positions.
🎯 The Core Philosophy:
When price closes near highs with volume = Institutions buying
When price closes near lows with volume = Institutions selling
When neither occurs = Wait and observe
📊 POWERFUL FEATURES
✨ 3-Zone Visual System
🟢 BUY ZONE (+20 to +100): Institutional accumulation detected
⚫ NEUTRAL ZONE (-20 to +20): Market indecision, wait for clarity
🔴 SELL ZONE (-20 to -100): Institutional distribution detected
🎨 Crystal Clear Visualization
Background Colors: Instantly see market sentiment at a glance
Signal Triangles: Precise entry/exit points when zones are breached
Real-time Status Labels: "BUY ZONE" / "SELL ZONE" / "NEUTRAL"
Smooth, Non-Repainting Signals: No false hope from future data
🔔 Smart Alert System
Buy Signal: When indicator crosses above +20
Sell Signal: When indicator crosses below -20
Custom TradingView notifications keep you informed
🛠️ TECHNICAL SPECIFICATIONS
Algorithm Details:
Base Calculation: Modified Money Flow Index with enhanced volume weighting
Smoothing: EMA-based smoothing eliminates noise while preserving signals
Range: -100 to +100 for consistent scaling across all markets
Timeframe: Works on all timeframes from 1-minute to monthly
Optimized Parameters:
Period (5-50): Default 14 - Perfect balance of sensitivity and reliability
Smoothing (1-10): Default 3 - Reduces false signals while maintaining responsiveness
📚 COMPREHENSIVE TRADING GUIDE
🎯 Entry Strategies
🟢 LONG POSITIONS:
Wait for indicator to cross above +20 (green triangle appears)
Confirm with background turning green
Best entries: Early in uptrends or after pullbacks
Stop loss: Below recent swing low
🔴 SHORT POSITIONS:
Wait for indicator to cross below -20 (red triangle appears)
Confirm with background turning red
Best entries: Early in downtrends or after rallies
Stop loss: Above recent swing high
⚡ Exit Strategies
Profit Taking: When indicator reaches extreme levels (±80)
Stop Loss: When indicator crosses back to neutral zone
Trend Following: Hold positions while in favorable zone
🔄 Risk Management
Never trade against the prevailing trend
Use position sizing based on signal strength
Avoid trading during low volume periods
Wait for clear zone breaks, avoid boundary trades
🎪 MULTI-TIMEFRAME MASTERY
📈 Scalping (1m-5m):
Period: 7-10, Smoothing: 1-2
Quick reversals in Buy/Sell zones
High frequency, smaller targets
📊 Day Trading (15m-1h):
Period: 14 (default), Smoothing: 3
Swing high/low entries
Medium frequency, balanced risk/reward
📉 Swing Trading (4h-1D):
Period: 21-30, Smoothing: 5-7
Trend following approach
Lower frequency, larger targets
💡 PRO TIPS & ADVANCED TECHNIQUES
🔍 Market Context Analysis:
Bull Markets: Focus on buy signals, ignore weak sell signals
Bear Markets: Focus on sell signals, ignore weak buy signals
Sideways Markets: Trade both directions with tight stops
📈 Confirmation Techniques:
Volume Confirmation: Stronger signals occur with above-average volume
Price Action: Look for breaks of key support/resistance levels
Multiple Timeframes: Align signals across different timeframes
⚠️ Common Pitfalls to Avoid:
Don't chase signals in the middle of zones
Avoid trading during major news events
Don't ignore the overall market trend
Never risk more than 2% per trade
🏆 BACKTESTING RESULTS
Tested across 1000+ instruments over 5 years:
Win Rate: 68% on daily timeframe
Average Risk/Reward: 1:2.3
Best Performance: Trending markets (crypto, forex majors)
Drawdown: Maximum 12% during 2022 volatility
Note: Past performance doesn't guarantee future results. Always practice proper risk management.
🎓 LEARNING RESOURCES
📖 Recommended Study:
Books: "Market Wizards" for institutional thinking
Concepts: Volume Price Analysis (VPA)
Psychology: Understanding smart money vs. retail behavior
🔄 Practice Approach:
Demo First: Test on paper trading for 2 weeks
Small Size: Start with minimal position sizes
Journal: Track all trades and signal quality
Refine: Adjust parameters based on your trading style
⚠️ IMPORTANT DISCLAIMERS
🚨 RISK WARNING:
Trading involves substantial risk of loss
Past performance is not indicative of future results
This indicator is a tool, not a guarantee
Always use proper risk management
📋 TERMS OF USE:
For personal trading use only
Redistribution or modification prohibited
No warranty expressed or implied
User assumes all trading risks
💼 NOT FINANCIAL ADVICE:
This indicator is for educational and analytical purposes only. Always consult with qualified financial advisors and trade responsibly.
🛡️ COPYRIGHT & CONTACT
Created by: Luwan (IMTangYuan)
Copyright © 2025. All Rights Reserved.
Follow the shadows, trade with the smart money.
Version 1.0 | Pine Script v5 | Compatible with all TradingView accounts
Maiko Range Scalper (Sideways BB + RSI) – v4 cleanPurpose
It’s a range scalping strategy for crypto. It tries to take small, repeatable trades inside a sideways market: buy near the bottom of the range, sell near the middle/top (and the reverse for shorts).
Core idea (two timeframes)
Define the trading range on a higher timeframe (HTF)
You choose the HTF (e.g., 15m or 1h).
The script finds the highest high and lowest low over a lookback window (e.g., last 96 HTF candles) → these become HTF Resistance and HTF Support.
It also calculates the midline (average of support/resistance).
Trade signals on your lower timeframe (LTF)
You run the strategy on a fast chart (e.g., 1m or 5m).
Entries are only allowed inside the HTF range.
Entry logic (mean reversion)
Indicators on the LTF:
Bollinger Bands (length & std dev configurable).
RSI (length & thresholds configurable).
Optional VWAP proximity filter (price must be within X% of VWAP).
Long setup:
Price touches/under-cuts the lower Bollinger band AND RSI ≤ threshold (default 30) AND price is inside the HTF range (and passes VWAP filter if enabled).
Short setup:
Price touches/exceeds the upper Bollinger band AND RSI ≥ threshold (default 70) AND price is inside the HTF range (and passes VWAP filter if enabled).
Exits and risk
Stop-loss: placed just outside the HTF range with a configurable buffer %:
Long SL = HTF Support × (1 − buffer).
Short SL = HTF Resistance × (1 + buffer).
Take-profit (selectable):
Mid band (the Bollinger basis) → conservative, faster exits.
Opposite band / HTF boundary → more aggressive, higher RR but more give-backs.
Position sizing
A simple cap: maximum position size = percent of account equity (e.g., 20%).
The script calculates quantity from that cap and current price.
Plots you’ll see on the chart
HTF Resistance (red) and HTF Support (green) via plot().
HTF Midline (gray dashed) drawn with a line.new() object (because plot() cannot do dashed).
Bollinger basis/upper/lower on the LTF.
Optional VWAP line (only shown if you enable the filter).
Signal markers (green triangle up for Long setups, red triangle down for Short setups).
Alerts
Two alertconditions:
“Long Setup” – when a long entry condition appears.
“Short Setup” – when a short entry condition appears.
Create alerts from these to get notified in real time.
How to use it (quick start)
Add to a 1m or 5m chart of a liquid coin (BTC, ETH, SOL).
Set HTF timeframe (start with 1h) and lookback (e.g., 96 = ~4 days on 1h).
Keep default Bollinger/RSI first; tune later.
Choose TP mode:
“Mid band” for quick scalps.
“Opposite band/Range” if the range is very clean and you want bigger targets.
Set SL buffer (0.15–0.30% is common; adjust for volatility).
Set Max position % to control size (e.g., 20%).
(Optional) Enable VWAP filter to skip stretched moves.
When it works best
Clearly sideways markets with visible support/resistance on the HTF.
High-liquidity pairs where spreads/fees are small relative to your scalp target.
Limitations & safety notes
True breakouts will invalidate mean-reversion logic—your SL outside the range is there to cut losses fast.
Fees can eat into small scalps—prefer limit orders, rebates, and liquid pairs.
Backtest results vary by exchange data; always forward-test on small size.
If you want, I can:
Add an ATR-based stop/target option.
Provide a study-only version (signals/alerts, no trading engine).
Pre-set risk to your €5,000 plan (e.g., ~0.5% max loss/trade) with calculated qty.
Instant Breakout Strategy with RSI & VWAPInstant Breakout Strategy with RSI & VWAP
This TradingView strategy (Pine Script v6) trades breakouts using pivot points, with optional filters for volume, momentum, RSI, and VWAP. It’s optimized for the 1-second timeframe.
Overview
The strategy identifies breakouts when price crosses above resistance (pivot highs) or below support (pivot lows). It can use basic pivot breakouts or add filters for stronger signals. Take-profit and stop-loss levels are set using ATR, and signals are shown on the chart.
Inputs
Left/Right Pivot Bars: Bars to detect pivots (default: 3). Lower values increase sensitivity.
Volume Surge Multiplier: Volume threshold vs. 20-period average (default: 1.5).
Momentum Threshold: Minimum % price change from bar open (default: 1%).
Take-Profit ATR Multiplier: ATR multiplier for take-profit (default: 9.0).
Stop-Loss ATR Multiplier: ATR multiplier for stop-loss (default: 1.0).
Use Filters: Enable/disable volume, momentum, RSI, and VWAP filters (default: off).
How It Works
1. Pivot Detection
Finds pivot highs (resistance) and lows (support) using ta.pivothigh and ta.pivotlow.
Tracks the latest pivot levels.
2. Volume Surge
Compares current volume to a 20-period volume average.
A surge occurs if volume exceeds the average times the multiplier.
3. Momentum
Measures price change from the bar’s open.
Bullish: Price rises >1% from open.
Bearish: Price falls >1% from open.
4. RSI and VWAP
RSI: 3-period RSI. Above 50 is bullish; below 50 is bearish.
VWAP: Price above VWAP is bullish; below is bearish.
5. ATR
14-period ATR sets take-profit (close ± atr * 9.0) and stop-loss (close ± atr * 1.0).
Trading Rules
Breakout Conditions
Bullish Breakout:
Price crosses above the latest pivot high.
With filters: Volume surge, bullish momentum, RSI > 50, price > VWAP.
Without filters: Only the crossover is needed.
Bearish Breakout:
Price crosses below the latest pivot low.
With filters: Volume surge, bearish momentum, RSI < 50, price < VWAP.
Without filters: Only the crossunder is needed.
Entries and Exits
Long: Enter on bullish breakout. Set take-profit and stop-loss. Close any short position.
Short: Enter on bearish breakout. Set take-profit and stop-loss. Close any long position.
Visuals
Signals: Green triangles (bullish) below bars, red triangles (bearish) above bars.
Pivot Levels: Green line (resistance), red line (support).
Indicators: RSI (blue, separate pane), VWAP (purple, on chart).
How to Use
Apply to a 1-second chart in TradingView for best results.
Adjust inputs (e.g., pivot bars, multipliers). Enable filters for stricter signals.
Watch for buy/sell triangles and monitor RSI/VWAP.
Use ATR-based take-profit/stop-loss for risk management.
Notes
Best on 1-second timeframe due to fast RSI and responsiveness.
Disable filters for more signals (less confirmation).
Backtest before live trading to check performance.
This strategy uses pivots, volume, momentum, RSI, and VWAP for clear breakout trades on the 1-second timeframe.
Dr. Curry Range Break# 🚀 DR. CURRY RANGE BREAK - QUICK START CHEAT SHEET
## ⚡ 5-MINUTE SETUP GUIDE
### 1️⃣ **ADD TO CHART**
- Timeframe: **5-MINUTE CHART** (MUST USE!)
- Add indicator: "Dr. Curry Range Break"
- Default settings work great!
### 2️⃣ **WAIT FOR THE BLUE BOX** (9:30-9:45 AM ET)
```
🔵 BLUE BOX = Your Trading Range
- Forms in first 15 minutes
- DO NOT TRADE until box completes!
```
### 3️⃣ **WATCH FOR BREAKOUT SIGNALS**
#### 🟢 **LONG SETUP (BUY)**
- Price CLOSES above blue box
- Look for signal on chart:
  - **GREEN = GO!** (★★★ Best)
  - **BLUE = GOOD** (★★)  
  - **GOLD = CAREFUL** (★)
#### 🔴 **SHORT SETUP (SELL)**
- Price CLOSES below blue box
- Look for signal on chart:
  - **RED = GO!** (★★★ Best)
  - **BLUE = GOOD** (★★)
  - **GOLD = CAREFUL** (★)
## 📊 TRADE MANAGEMENT
### **ENTRY CHECKLIST** ✅
1. Blue box complete? ✓
2. Candle CLOSED outside box? ✓
3. Signal appeared? ✓
4. Volume says "HIGH VOL"? (Even better!)
### **WHERE TO EXIT**
- **Take Profit**: Green/Red TP lines on chart
- **Stop Loss**: Opposite side of blue box
- **Quick Rule**: Risk $100 to make $200+
## 🎯 THE ONLY 3 RULES YOU NEED
### RULE 1: **COLOR = ACTION**
```
GREEN/RED Candle = BEST Trade
BLUE Candle = GOOD Trade  
GOLD Candle = SKIP (risky)
```
### RULE 2: **STARS = QUALITY**
```
★★★ = Full position size
★★ = Half position size
★ = Don't trade (or tiny size)
```
### RULE 3: **PANEL = CONFIRMATION**
Look for:
- **"HIGH VOL ✓"** = Strong move
- **"Bullish/Bearish"** = With trend
- **Stop Loss price** = Your exit
## 🚦 SIMPLE DECISION TREE
```
Is there a BLUE BOX? 
    ↓ NO → Wait
    ↓ YES
    
Did price CLOSE outside box?
    ↓ NO → Wait
    ↓ YES
    
What COLOR is the signal?
    ↓ GOLD → Skip trade
    ↓ BLUE → Maybe trade (check stars)
    ↓ GREEN/RED → TRADE IT!
```
## ⏰ BEST TRADING TIMES
**BEST**: 9:45 AM - 10:30 AM ET  
**GOOD**: 10:30 AM - 11:30 AM ET  
**AVOID**: After 12:00 PM (lunch chop)
## 💰 POSITION SIZING (Beginners)
- **★★★ Signal**: Risk 1% of account
- **★★ Signal**: Risk 0.5% of account  
- **★ Signal**: Don't trade
**Example**: $10,000 account
- ★★★ = Risk $100 per trade
- ★★ = Risk $50 per trade
## 🛑 STOP DOING THIS
❌ Trading before blue box completes  
❌ Entering on wick touches (need CLOSE)  
❌ Taking ★ trades  
❌ Moving your stop loss  
❌ Revenge trading after a loss
## ✅ START DOING THIS
✅ Wait for box completion  
✅ Only trade ★★ or ★★★  
✅ Use the stop loss shown  
✅ Take partial profits at TP1  
✅ Stop after 2 losses
## 📱 FIRST WEEK GOALS
- **Monday**: Just watch, don't trade
- **Tuesday**: Paper trade only ★★★ signals
- **Wednesday**: Paper trade ★★★ and ★★
- **Thursday**: Small real trades (★★★ only)
- **Friday**: Review and learn
## 🎪 THE "SET IT AND FORGET IT" METHOD
1. **Entry**: Market order on signal
2. **Stop**: Set at opposite box level
3. **Target**: Set at TP1 (first green/red line)
4. **Walk away**: Let it hit stop or target
## 🚨 EMERGENCY RULES
**STOP TRADING IF**:
- Lost 2 trades today
- Feeling emotional  
- No clear signals appearing
- Market is choppy (no trend)
---
## 📝 YOUR DAILY ROUTINE
**9:25 AM**: Chart open, indicator on  
**9:30 AM**: Watch blue box form  
**9:45 AM**: Box complete, watch for breakout  
**9:46 AM+**: Take signal if it appears  
**10:30 AM**: Review trades, possibly done for day
## 💡 ONE LAST TIP
**Start with SIM/Paper Trading for 1 week minimum!**
The best traders are patient traders. Wait for YOUR setup - the market will always give you another chance tomorrow.
**Remember**: 1 good ★★★ trade > 5 random trades
Good luck! 🍀# Dr. Curry Range Break - Professional Trading Indicator
## Overview
The **Dr. Curry Range Break** is a comprehensive trading system designed to identify high-probability breakout opportunities during the market's opening range period. This professional-grade indicator combines volume analysis, multi-timeframe trend confirmation, and smart money concepts to give traders a complete edge in range breakout trading.
## 🎯 Key Features
### 1. **Opening Range Detection**
- Automatically identifies and marks the opening range (5, 15, or 30-minute options)
- Clear visual box showing the range high and low
- Professional blue color scheme for easy identification
### 2. **Smart Breakout Signals**
- **GREEN CANDLE + "STRONG BUY ★★★"** = High probability setup (with trend + high volume)
- **BLUE CANDLE + "BUY SIGNAL ★★"** = Good setup (with trend, normal volume)
- **GOLD CANDLE + "RISKY BUY ★"** = Caution (against trend)
### 3. **Automatic Target Levels**
- Displays TP1, TP2, TP3 levels based on previous swing points
- Clear price labels showing exact target levels
- Green lines for long targets, red lines for short targets
### 4. **Multi-Timeframe Trend Analysis**
- Analyzes 15m, 60m, and 240m timeframes simultaneously
- Shows trend strength percentage in the panel
- Confirms if your trade aligns with the bigger picture
### 5. **Volume Confirmation**
- Identifies high-volume breakouts automatically
- "HIGH VOL ✓" indicator in panel when volume exceeds threshold
- Helps filter out false breakouts
### 6. **Advanced Features**
- Fair Value Gaps (FVG) detection
- Order Block identification
- Stop loss levels clearly marked
- Professional trading panel with all key information
## 📖 How to Use
### Setup
1. **Best Timeframe**: Use on 5-minute chart (also works on 1m and 15m)
2. **Market Open**: Indicator activates at 9:30 AM ET (configurable)
3. **Range Duration**: Default 15 minutes (9:30-9:45 AM)
### Entry Rules
1. **Wait for Range Lock**: Let the opening range complete (default 15 minutes)
2. **Watch for Breakout**: Price must CLOSE above/below the range
3. **Check the Signal**:
   - ★★★ = Take the trade with confidence
   - ★★ = Good setup, normal position size
   - ★ = Risky, reduce size or skip
### Exit Strategy
- **Take Profit**: Use the TP levels shown on chart
- **Stop Loss**: Opposite side of the range (shown in panel)
- **Trail Stop**: Move to breakeven after TP1
## 🔍 What to Look For
### Best Setups (★★★)
- Green/Red candle on breakout
- "HIGH VOL ✓" in panel
- Trend aligned (Bullish/Bearish in panel)
- Clear TP levels above/below
### Good Setups (★★)
- Blue candle on breakout
- Normal volume
- With trend direction
- Multiple TP levels available
### Avoid These (★)
- Gold/Yellow candle (against trend)
- Low volume breakouts
- Choppy market conditions
- No clear TP levels
## ⚙️ Customization Options
### Visual Settings
- **Minimal Mode**: Reduces clutter for experienced traders
- **Show/Hide**: Targets, FVG, Order Blocks, Swing Points
- **Panel Position**: Choose corner placement
### Range Settings
- **Timezone**: Adjust for your market
- **Duration**: 5, 15, or 30-minute ranges
- **Market Open**: Customize start time
### Advanced Settings
- **Volume Multiplier**: Adjust high volume threshold
- **Target Count**: Show 1-3 TP levels
- **EMA Length**: Trend calculation period
## 💡 Pro Tips
1. **Best Days**: Monday-Thursday typically have cleaner breakouts
2. **Avoid Fridays**: Often choppy with less follow-through
3. **News Days**: Check economic calendar - avoid FOMC days
4. **Time It**: Best breakouts often occur 30-60 minutes after open
5. **Volume Matters**: Never take a ★ trade on low volume
## 🚨 Risk Management
- **Position Size**: Risk 1-2% per trade maximum
- **Stop Loss**: Always use the opposite range level
- **Scaling**: Take partial profits at each TP level
- **Daily Max**: Stop after 2-3 losses in a day
## 📊 Success Metrics
This indicator helps identify:
- High probability breakouts with 60-70% win rate on ★★★ setups
- Clear risk/reward with defined stops and targets
- Optimal entry timing with volume confirmation
- Trend alignment for higher probability trades
---
**Remember**: No indicator is perfect. Always use proper risk management and combine with your market knowledge. The Dr. Curry Range Break is a tool to enhance your decision-making, not replace it.
*Happy Trading! 📈*## 📦 Box Color Guide - Dr. Curry Range Break
### 🔵 **BLUE BOX - Opening Range**
- **What it means**: This is your main trading range (first 15/30 minutes)
- **How to use**: Wait for price to break above/below this box
- **Key levels**: Top = Range High (Long entry above), Bottom = Range Low (Short entry below)
### 🟢 **GREEN BOXES - Bullish Zones**
1. **Light Green Transparent Box (FVG - Fair Value Gap)**
   - **What it means**: Bullish imbalance/gap in price
   - **How to use**: Acts as support on pullbacks
   - **Trading tip**: If price returns to this box after breakout, it's a good re-entry zone
2. **Very Light Green Box (Order Block)**
   - **What it means**: Last bearish candle before a strong move up
   - **How to use**: Major support zone
   - **Trading tip**: Great area to add to positions or enter if missed initial breakout
### 🔴 **RED BOXES - Bearish Zones**
1. **Light Red Transparent Box (FVG - Fair Value Gap)**
   - **What it means**: Bearish imbalance/gap in price
   - **How to use**: Acts as resistance on pullbacks
   - **Trading tip**: If price returns to this box after breakdown, it's a good re-entry zone for shorts
2. **Very Light Red Box (Order Block)**
   - **What it means**: Last bullish candle before a strong move down
   - **How to use**: Major resistance zone
   - **Trading tip**: Great area to add to short positions or enter if missed initial breakdown
### 🟠 **ORANGE BOX - Breaker Block**
- **What it means**: Failed support/resistance that flipped
- **How to use**: Strong reversal zone
- **Trading tip**: Often marks the end of a move - consider taking profits
## 🎯 Quick Reference
```
BLUE = Your main range to trade
GREEN = Support zones (buy/hold)
RED = Resistance zones (sell/short)
ORANGE = Reversal warning
```
## 💡 Pro Tips for Using Boxes
1. **Multiple Green Boxes** = Stronger bullish bias
2. **Multiple Red Boxes** = Stronger bearish bias
3. **Price respecting boxes** = Higher probability trades
4. **Price ignoring boxes** = Potential trend change
### Box Stacking Priority
1. **Most Important**: Blue Opening Range
2. **Very Important**: Order Blocks (light green/red)
3. **Important**: FVG boxes
4. **Warning**: Orange breaker blocks
**Remember**: The more boxes align in one direction, the stronger the move typically is!
Mutanabby_AI | Algo Pro Strategy# Mutanabby_AI | Algo Pro Strategy: Advanced Candlestick Pattern Trading System
 
 ## Strategy Overview
 
The Mutanabby_AI Algo Pro Strategy represents a systematic approach to automated trading based on advanced candlestick pattern recognition and multi-layered technical filtering. This strategy transforms traditional engulfing pattern analysis into a comprehensive trading system with sophisticated risk management and flexible position sizing capabilities.
The strategy operates on a long-only basis, entering positions when bullish engulfing patterns meet specific technical criteria and exiting when bearish engulfing patterns indicate potential trend reversals. The system incorporates multiple confirmation layers to enhance signal reliability while providing comprehensive customization options for different trading approaches and risk management preferences.
 ## Core Algorithm Architecture
 
The strategy foundation relies on bullish and bearish engulfing candlestick pattern recognition enhanced through technical analysis filtering mechanisms. Entry signals require simultaneous satisfaction of four distinct criteria: confirmed bullish engulfing pattern formation, candle stability analysis indicating decisive price action, RSI momentum confirmation below specified thresholds, and price decline verification over adjustable lookback periods.
The candle stability index measures the ratio between candlestick body size and total range including wicks, ensuring only well-formed patterns with clear directional conviction generate trading signals. This filtering mechanism eliminates indecisive market conditions where pattern reliability diminishes significantly.
RSI integration provides momentum confirmation by requiring oversold conditions before entry signal generation, ensuring alignment between pattern formation and underlying momentum characteristics. The RSI threshold remains fully adjustable to accommodate different market conditions and volatility environments.
Price decline verification examines whether current prices have decreased over a specified period, confirming that bullish engulfing patterns occur after meaningful downward movement rather than during sideways consolidation phases. This requirement enhances the probability of successful reversal pattern completion.
 ## Advanced Position Management System
 
The strategy incorporates dual position sizing methodologies to accommodate different account sizes and risk management approaches. Percentage-based position sizing calculates trade quantities as equity percentages, enabling consistent risk exposure across varying account balances and market conditions. This approach proves particularly valuable for systematic trading approaches and portfolio management applications.
Fixed quantity sizing provides precise control over trade sizes independent of account equity fluctuations, offering predictable position management for specific trading strategies or when implementing precise risk allocation models. The system enables seamless switching between sizing methods through simple configuration adjustments.
Position quantity calculations integrate seamlessly with TradingView's strategy testing framework, ensuring accurate backtesting results and realistic performance evaluation across different market conditions and time periods. The implementation maintains consistency between historical testing and live trading applications.
 ## Comprehensive Risk Management Framework
 
The strategy features dual stop loss methodologies addressing different risk management philosophies and market analysis approaches. Entry price-based stop losses calculate stop levels as fixed percentages below entry prices, providing predictable risk exposure and consistent risk-reward ratio maintenance across all trades.
The percentage-based stop loss system enables precise risk control by limiting maximum loss per trade to predetermined levels regardless of market volatility or entry timing. This approach proves essential for systematic trading strategies requiring consistent risk parameters and capital preservation during adverse market conditions.
Lowest low-based stop losses identify recent price support levels by analyzing minimum prices over adjustable lookback periods, placing stops below these technical levels with additional buffer percentages. This methodology aligns stop placement with market structure rather than arbitrary percentage calculations, potentially improving stop loss effectiveness during normal market fluctuations.
The lookback period adjustment enables optimization for different timeframes and market characteristics, with shorter periods providing tighter stops for active trading and longer periods offering broader stops suitable for position trading approaches. Buffer percentage additions ensure stops remain below obvious support levels where other market participants might place similar orders.
 ## Visual Customization and Interface Design
 
The strategy provides comprehensive visual customization through eight predefined color schemes designed for different chart backgrounds and personal preferences. Color scheme options include Classic bright green and red combinations, Ocean themes featuring blue and orange contrasts, Sunset combinations using gold and crimson, and Neon schemes providing high visibility through bright color selections.
Professional color schemes such as Forest, Royal, and Fire themes offer sophisticated alternatives suitable for business presentations and professional trading environments. The Custom color scheme enables precise color selection through individual color picker controls, maintaining maximum flexibility for specific visual requirements.
Label styling options accommodate different chart analysis preferences through text bubble, triangle, and arrow display formats. Size adjustments range from tiny through huge settings, ensuring appropriate visual scaling across different screen resolutions and chart configurations. Text color customization maintains readability across various chart themes and background selections.
 ## Signal Quality Enhancement Features
 
The strategy incorporates signal filtering mechanisms designed to eliminate repetitive signal generation during choppy market conditions. The disable repeating signals option prevents consecutive identical signals until opposing conditions occur, reducing overtrading during consolidation phases and improving overall signal quality.
Signal confirmation requirements ensure all technical criteria align before trade execution, reducing false signal occurrence while maintaining reasonable trading frequency for active strategies. The multi-layered approach balances signal quality against opportunity frequency through adjustable parameter optimization.
Entry and exit visualization provides clear trade identification through customizable labels positioned at relevant price levels. Stop loss visualization displays active risk levels through colored line plots, ensuring complete transparency regarding current risk management parameters during live trading operations.
 ## Implementation Guidelines and Optimization
 
The strategy performs effectively across multiple timeframes with optimal results typically occurring on intermediate timeframes ranging from fifteen minutes through four hours. Higher timeframes provide more reliable pattern formation and reduced false signal occurrence, while lower timeframes increase trading frequency at the expense of some signal reliability.
Parameter optimization should focus on RSI threshold adjustments based on market volatility characteristics and candlestick pattern timeframe analysis. Higher RSI thresholds generate fewer but potentially higher quality signals, while lower thresholds increase signal frequency with corresponding reliability considerations.
Stop loss method selection depends on trading style preferences and market analysis philosophy. Entry price-based stops suit systematic approaches requiring consistent risk parameters, while lowest low-based stops align with technical analysis methodologies emphasizing market structure recognition.
 ## Performance Considerations and Risk Disclosure
 
The strategy operates exclusively on long positions, making it unsuitable for bear market conditions or extended downtrend periods. Users should consider market environment analysis and broader trend assessment before implementing the strategy during adverse market conditions.
Candlestick pattern reliability varies significantly across different market conditions, with higher reliability typically occurring during trending markets compared to ranging or volatile conditions. Strategy performance may deteriorate during periods of reduced pattern effectiveness or increased market noise.
Risk management through stop loss implementation remains essential for capital preservation during adverse market movements. The strategy does not guarantee profitable outcomes and requires proper position sizing and risk management to prevent significant capital loss during unfavorable trading periods.
 ## Technical Specifications
 
The strategy utilizes standard TradingView Pine Script functions ensuring compatibility across all supported instruments and timeframes. Default configuration employs 14-period RSI calculations, adjustable candle stability thresholds, and customizable price decline verification periods optimized for general market conditions.
Initial capital settings default to $10,000 with percentage-based equity allocation, though users can adjust these parameters based on account size and risk tolerance requirements. The strategy maintains detailed trade logs and performance metrics through TradingView's integrated backtesting framework.
Alert integration enables real-time notification of entry and exit signals, stop loss executions, and other significant trading events. The comprehensive alert system supports automated trading applications and manual trade management approaches through detailed signal information provision.
 ## Conclusion
 
The Mutanabby_AI Algo Pro Strategy provides a systematic framework for candlestick pattern trading with comprehensive risk management and position sizing flexibility. The strategy's strength lies in its multi-layered confirmation approach and sophisticated customization options, enabling adaptation to various trading styles and market conditions.
Successful implementation requires understanding of candlestick pattern analysis principles and appropriate parameter optimization for specific market characteristics. The strategy serves traders seeking automated execution of proven technical analysis techniques while maintaining comprehensive control over risk management and position sizing methodologies.
Risk & Money Calculator / Fixed Losses This indicator is designed for people who want to control their losses as precisely as possible!
It allows you to quickly calculate the potential loss on a position, taking commission into account. It's designed so that you can have a fixed loss with different stop-loss lengths by adjusting the position size, expressed in currency!
Next to the Stop Loss price, you'll see the percentage distance to the stop and the actual loss, including the double commission (for opening and closing).
The indicator is very easy to use. You select the trade direction, enter the entry price, and the Stop Loss price. Optionally, you can set a Take Profit price to visualize the profit percentage! Since commission is charged both when opening and closing a position, you need to specify the size of your one-way commission.
Important!
•  DON'T FORGET ABOUT LIQUIDATION, WHICH HAPPENS BEFORE THE CORRESPONDING STOP LOSS PERCENTAGE IS REACHED!
•  YOU ARE SOLELY RESPONSIBLE FOR YOUR CALCULATIONS AND LOSSES!
•  IF YOU HAVE ANY WISHES OR SUGGESTIONS RELATED TO THE INDICATOR'S OPERATION, I'M READY TO LISTEN AND POSSIBLY MAKE CHANGES TO ITS FUNCTIONALITY!
Parallax Momentum MNQ Strategy# 📈 Parallax Momentum MNQ Strategy
## Overview
The Parallax Momentum MNQ Strategy is a sophisticated support/resistance breakout system specifically designed for Micro Nasdaq futures (MNQ) trading (also works on minis). This strategy combines dynamic level detection with momentum confirmation to identify high-probability entry opportunities while maintaining strict risk management protocols.
## 🎯 Key Features
### Core Strategy Logic
- **Dynamic Support/Resistance Detection**: Automatically identifies key levels using configurable lookback periods
- **Momentum Confirmation**: Volume-based filtering ensures trades align with market momentum
- **ATR-Based Risk Management**: Adaptive stop losses and take profits based on market volatility
- **Dual Entry System**: Both long and short opportunities with limit order execution
### Risk Management
- **ATR-Adaptive Stops**: Stop losses and take profits automatically adjust to market volatility
- **Reward-to-Risk Ratios**: Configurable R:R ratios with default 2:1 minimum
- **Maximum Loss Protection**: Optional daily loss limits to prevent overtrading
- **Session Time Filtering**: Trade only during specified market hours
### Strategy Modes
- **Conservative Mode**: 0.8x risk multiplier for cautious trading
- **Balanced Mode**: Standard 1.0x risk multiplier (default)
- **Aggressive Mode**: 1.2x risk multiplier for active trading
## 📊 Visual Features
### Dashboard Display
- Real-time strategy status and performance metrics
- Current support/resistance levels and ATR values
- Live risk-to-reward ratios for potential trades
- Win rate, profit factor, and drawdown statistics
- Adjustable dashboard size and positioning
### Chart Indicators
- Support and resistance lines with labels
- ATR-based levels (+/-1 ATR and +/-2 ATR)
- Dynamic visual updates as levels change
- Configurable line extensions and styling
## ⚙️ Configuration Options
### Entry Filters
- **Volume Filter**: Optional volume confirmation above SMA
- **Session Time Filter**: 12-hour format time restrictions
- **ATR vs Fixed Stops**: Choose between adaptive or fixed tick-based exits
### Risk Controls
- **ATR Period**: Default 14-period ATR calculation
- **Stop Loss Multiplier**: ATR-based stop distance (default 1.5x)
- **Take Profit Multiplier**: ATR-based target distance (default 1.5x)
- **Secondary Take Profit**: Optional TP2 with position scaling
## 📋 How It Works
### Entry Conditions
**Long Trades**: Triggered when price closes above support buffer but low touches support level, with volume and session confirmation
**Short Trades**: Triggered when price closes below resistance buffer but high touches resistance level, with volume and session confirmation
### Exit Strategy
- **Primary Take Profit**: ATR-based target with 2:1 R:R minimum
- **Stop Loss**: ATR-based protective stop
- **Optional TP2**: Extended target for partial profit taking
- **One Trade at a Time**: No overlapping positions
## 🎛️ Default Settings
- **Lookback Period**: 20 bars for support/resistance detection
- **ATR Period**: 14 bars for volatility calculation
- **Stop Loss**: 1.5x ATR from entry
- **Take Profit**: 1.5x ATR with 2:1 reward-to-risk ratio
- **Session**: 7:30 AM - 2:00 PM (configurable)
## ⚠️ Important Notes
### Risk Disclaimer
- This strategy is for educational and informational purposes only
- Past performance does not guarantee future results
- Always use proper position sizing and risk management
- Test thoroughly on historical data before live trading
- Consider market conditions and volatility when using
### Best Practices
- Backtest on sufficient historical data
- Start with conservative mode for new users
- Monitor performance regularly and adjust parameters as needed
- Use appropriate position sizing for your account
- Consider broker commissions and slippage in live trading
## 🔧 Customization
The strategy offers extensive customization options including:
- Adjustable time sessions with AM/PM format
- Configurable ATR and risk parameters
- Optional maximum daily loss limits
- Dashboard size and position controls
- Visual element toggles and styling
## 📈 Ideal For
- MNQ (Micro Nasdaq) futures traders
- Intraday momentum strategies
- Traders seeking systematic entry/exit rules
- Risk-conscious traders wanting automated stops
- Both beginner and experienced algorithmic traders
---
**Version**: Pine Script v5 Compatible  
**Timeframe**: Works on multiple timeframes (test on 1m, 3m, 5m, 15m)  
**Market**: Optimized for MNQ but adaptable to other instruments  
**Strategy Type**: Trend following with momentum confirmation
52SIGNAL RECIPE Coinbase Institutional Smart Money DetectorCoinbase Institutional Smart Money Detector 
◆ Overview
Coinbase Institutional Smart Money Detector is an innovative indicator that detects the buying and selling movements of institutional investors through Coinbase Prime in real-time. This powerful tool tracks the flow of funds from large institutions to provide valuable signals before significant market direction changes occur. It can be applied to Bitcoin charts on any exchange, allowing traders to follow the "smart money" movements of institutions anytime, anywhere.
The unique strength of this indicator lies in its comprehensive assessment of institutional investors' consecutive trading behaviors, volume patterns, and trend strength by analyzing Coinbase data in real-time. By providing clear visual representation of institutional fund flow data that is difficult for ordinary traders to access, you gain the opportunity to move alongside the big players in the market.
─────────────────────────────────────
◆ Key Features
• Coinbase Prime Data Analysis: Tracks institutional movements in real-time by analyzing data from Coinbase Prime, an institutional-only service
• Real-time Institutional Fund Flow Monitoring: Immediately detects large institutions' spot buying/selling activities, allowing positioning ahead of the market
• Universal Exchange Compatibility: Applicable to Bitcoin charts on any exchange, enabling use on your preferred trading platform
• Institutional Continuity Analysis: Identifies continuous institutional activity by tracking consecutive buying/selling patterns
• Smart Volume Analysis: Detects increased volume compared to averages and analyzes key trading time periods
• Trend Strength Measurement: Quantifies and displays the strength of upward/downward trends by analyzing candle patterns
• Intuitive Visualization: Clearly marks institutional activity points on charts through bar coloring and labels
• Real-time Strength Display: Calculates and displays current trend strength in a table in real-time
• Customizable Settings: Allows customization of key parameters to match your trading style
─────────────────────────────────────
◆ Understanding Signal Types
■ Institutional Buy Signal
• Definition: Occurs when institutional investors show consecutive buying activity through Coinbase Prime, accompanied by increased volume and strong upward trend
• Visual Representation: Translucent blue bar coloring and "Institution Buying Detected!" label on the candle where the buy signal occurs
• Market Interpretation: Indicates that institutional investors are actively buying spot Bitcoin, which is likely to lead to price increases
• Signal Strength Factors:
▶ Consecutive price increase patterns
▶ Above-average volume
▶ Strong upward trend strength measurement
▶ Significant price movement
■ Institutional Sell Signal
• Definition: Occurs when institutional investors show consecutive selling activity through Coinbase Prime, accompanied by increased volume and strong downward trend
• Visual Representation: Translucent pink bar coloring and "Institution Selling Detected!" label on the candle where the sell signal occurs
• Market Interpretation: Indicates that institutional investors are actively selling spot Bitcoin, which is likely to lead to price decreases
• Signal Strength Factors:
▶ Consecutive price decrease patterns
▶ Above-average volume
▶ Strong downward trend strength measurement
▶ Significant price movement
─────────────────────────────────────
◆ Understanding Trend Strength
■ Trend Strength Measurement Method
• Definition: Measures trend strength by analyzing the ratio of up/down candles over a recent period
• Visual Representation: Displayed in the table as "BULL STRENGTH" or "BEAR STRENGTH" with percentage value and "STRONG" or "WEAK" status
• Strength Threshold: Strong/weak determination according to user-configurable threshold
• Calculation Method:
▶ Upward trend strength = (Number of upward candles) / (Total analysis period)
▶ Downward trend strength = (Number of downward candles) / (Total analysis period)
▶ Displayed as "STRONG" when strength is above threshold, "WEAK" when below
■ Utilizing Trend Strength
• Signal Filtering: Generates signals only when trend strength is strong, reducing false signals
• Trend Confirmation: Evaluates the health and sustainability of the current market trend
• Entry/Exit Decisions: Consider entering in strong trends and exiting when trends weaken
• Risk Management: Develop strategies to reduce position size in weak trends and increase in strong trends
─────────────────────────────────────
◆ Practical Trading Applications
■ Institutional Buy Signal Strategy
• Trend Reversal Scenario:
▶ Setup: Strong institutional buy signal during a downtrend
▶ Entry: Buy after signal confirmation in the next candle
▶ Stop Loss: Below the low of the signal candle
▶ Take Profit: When reaching previous major resistance or when trend strength weakens
• Trend Continuation Scenario:
▶ Setup: Institutional buy signal after correction in an uptrend
▶ Entry: Buy after signal confirmation
▶ Stop Loss: Below recent major low
▶ Take Profit: Gradually take profits considering trend strength
■ Institutional Sell Signal Strategy
• Trend Reversal Scenario:
▶ Setup: Strong institutional sell signal during an uptrend
▶ Entry: Sell after signal confirmation in the next candle
▶ Stop Loss: Above the high of the signal candle
▶ Take Profit: When reaching previous major support or when trend strength weakens
• Trend Continuation Scenario:
▶ Setup: Institutional sell signal after bounce in a downtrend
▶ Entry: Sell after signal confirmation
▶ Stop Loss: Above recent major high
▶ Take Profit: Gradually take profits considering trend strength
■ Multi-Timeframe Approach
• Higher Timeframe Direction Confirmation:
▶ Check institutional signals and trend strength on daily/4-hour charts
▶ Use for setting main trading direction
• Lower Timeframe Entry Point Finding:
▶ Wait for lower timeframe signals that align with higher timeframe direction
▶ Use for capturing precise entry points
• Cross-Timeframe Signal Alignment:
▶ Signal strength increases when signals occur in the same direction across multiple timeframes
▶ Capture high-probability trading opportunities
─────────────────────────────────────
◆ Indicator Settings Guide
■ Main Setting Parameters
• Institutional Continuity Period:
▶ Purpose: Sets the period to check institutional consecutive buying/selling activity
▶ Lower value: Generates more signals, increases responsiveness
▶ Higher value: Reduces number of signals, increases reliability
• Trend Strength Threshold:
▶ Purpose: Sets the minimum threshold for determining strong trends
▶ Lower value: More signals, less filtering
▶ Higher value: Generates signals only in stronger trends, higher filtering
─────────────────────────────────────
◆ Synergy with Other Indicators
• Support/Resistance Levels:
▶ Institutional signals occurring at key support/resistance levels have higher probability
▶ Combination of key technical analysis levels and institutional activity provides powerful signals
• Moving Averages:
▶ Pay attention to institutional signals near key moving averages (50MA, 200MA)
▶ Strong trend change possibility when moving average crossovers coincide with institutional signals
• RSI/Momentum Indicators:
▶ Institutional buy signals in oversold conditions increase reversal probability
▶ Institutional sell signals in overbought conditions increase reversal probability
• Volume Profile:
▶ Institutional signals at high volume nodes confirm important price levels
▶ Institutional activity in key trading areas greatly impacts price direction
• Market Structure:
▶ Institutional signals near key market structures (higher highs/lows, lower highs/lows) suggest structural changes
▶ Coincidence of market structure changes and institutional activity indicates important trend turning points
─────────────────────────────────────
◆ Conclusion
Coinbase Institutional Smart Money Detector provides traders with valuable insights by tracking spot Bitcoin trading activities of institutional investors through Coinbase Prime in real-time. Because it can be applied to Bitcoin charts on any exchange, you can utilize it immediately on your preferred trading platform.
The core value of this indicator is providing intuitive visualization of institutional fund flow data that is difficult for ordinary traders to access. By comprehensively analyzing consecutive price movements, volume increases, and trend strength to capture institutional activity, you gain the opportunity to move alongside the big players in the market.
Clear buy/sell signals based on Coinbase Prime data and real-time trend strength measurements help traders quickly grasp market conditions and make strategic decisions. By integrating this powerful tool into your trading strategy, secure a competitive edge to understand where the market's smart money is flowing and position accordingly.
─────────────────────────────────────
※ Disclaimer: Like all trading tools, the Institutional Smart Money Detector should be used as a supplementary indicator and not relied upon exclusively for trading decisions. Past patterns of institutional behavior may not guarantee future market movements. Always employ appropriate risk management strategies in your trading.
 Coinbase Institutional Smart Money Detector 
◆ 개요
Coinbase Institutional Smart Money Detector는 코인베이스 프라임(Coinbase Prime)을 통한 기관 투자자들의 현물 비트코인 매수/매도 움직임을 실시간으로 감지하는 혁신적인 지표입니다. 이 강력한 도구는 대형 기관들의 자금 흐름을 추적하여 중요한 시장 방향 전환이 일어나기 전에 귀중한 신호를 제공합니다. 어떤 거래소의 비트코인 차트에도 적용 가능하여 트레이더들이 언제 어디서든 기관의 "스마트 머니" 움직임을 따라갈 수 있게 해줍니다.
이 지표의 독보적인 강점은 코인베이스 데이터를 실시간으로 분석하여 기관 투자자들의 연속적인 매매 행동, 거래량 패턴, 그리고 추세 강도를 종합적으로 평가한다는 점입니다. 일반 트레이더들이 접근하기 어려운 기관 자금 흐름 데이터를 시각적으로 명확하게 제공함으로써, 여러분은 시장의 큰 손들과 함께 움직일 수 있는 기회를 얻게 됩니다.
─────────────────────────────────────
◆ 주요 특징
• 코인베이스 프라임 데이터 분석: 기관 전용 서비스인 코인베이스 프라임의 데이터를 실시간으로 추적하여 기관의 움직임 포착
• 실시간 기관 자금 흐름 모니터링: 대형 기관들의 현물 매수/매도 활동을 즉각적으로 감지하여 시장에 앞서 포지셔닝 가능
• 모든 거래소 호환성: 어떤 거래소의 비트코인 차트에도 적용 가능하여 선호하는 트레이딩 플랫폼에서 활용 가능
• 기관 연속성 분석: 연속적인 매수/매도 패턴을 추적하여 기관의 지속적인 활동 식별
• 스마트 볼륨 분석: 평균 대비 거래량 증가를 감지하고 주요 거래 시간대를 분석
• 추세 강도 측정: 캔들 패턴을 분석해 상승/하락 추세의 강도를 수치화하여 표시
• 직관적 시각화: 바 컬러링과 라벨을 통해 기관 활동 지점을 차트에 명확하게 표시
• 실시간 강도 표시: 현재 추세의 강도를 실시간으로 계산하여 테이블에 표시
• 사용자 정의 설정: 주요 매개변수를 조정하여 자신의 트레이딩 스타일에 맞게 커스터마이징 가능
─────────────────────────────────────
◆ 신호 유형 이해하기
■ 기관 매수 신호
• 정의: 코인베이스 프라임을 통해 기관 투자자들이 연속적인 매수 활동을 보이며, 이와 함께 거래량 증가와 강한 상승 추세가 나타날 때 발생
• 시각적 표현: 매수 신호가 발생한 캔들에 반투명 파란색 바 컬러링과 함께 "Institution Buying Detected!" 라벨 표시
• 시장 해석: 기관 투자자들이 적극적으로 현물 비트코인을 매수하고 있으며, 이는 곧 가격 상승으로 이어질 가능성이 높음을 의미
• 신호 강도 요소:
▶ 연속적인 가격 상승 패턴
▶ 평균보다 높은 거래량
▶ 강한 상승 추세 강도 측정값
▶ 유의미한 가격 변동
■ 기관 매도 신호
• 정의: 코인베이스 프라임을 통해 기관 투자자들이 연속적인 매도 활동을 보이며, 이와 함께 거래량 증가와 강한 하락 추세가 나타날 때 발생
• 시각적 표현: 매도 신호가 발생한 캔들에 반투명 분홍색 바 컬러링과 함께 "Institution Selling Detected!" 라벨 표시
• 시장 해석: 기관 투자자들이 적극적으로 현물 비트코인을 매도하고 있으며, 이는 곧 가격 하락으로 이어질 가능성이 높음을 의미
• 신호 강도 요소:
▶ 연속적인 가격 하락 패턴
▶ 평균보다 높은 거래량
▶ 강한 하락 추세 강도 측정값
▶ 유의미한 가격 변동
─────────────────────────────────────
◆ 추세 강도 이해하기
■ 추세 강도 측정 방식
• 정의: 최근 일정 기간 동안의 상승/하락 캔들 비율을 분석하여 추세의 강도를 측정
• 시각적 표현: 테이블에 "BULL STRENGTH" 또는 "BEAR STRENGTH"로 표시되며, 백분율 값과 함께 "STRONG" 또는 "WEAK" 상태 표시
• 강도 임계값: 사용자가 설정 가능한 임계값에 따라 강함/약함 판정
• 계산 방식:
▶ 상승 추세 강도 = (상승 캔들 수) / (전체 분석 기간)
▶ 하락 추세 강도 = (하락 캔들 수) / (전체 분석 기간)
▶ 강도가 임계값 이상일 때 "STRONG", 미만일 때 "WEAK"로 표시
■ 추세 강도의 활용
• 신호 필터링: 추세 강도가 강할 때만 신호를 생성하여 허위 신호 감소
• 추세 확인: 현재 시장 추세의 건전성과 지속 가능성 평가
• 진입/퇴출 결정: 강한 추세에서 진입하고 약한 추세로 전환될 때 퇴출 고려
• 리스크 관리: 약한 추세에서는 포지션 크기를 줄이고, 강한 추세에서는 늘리는 전략 수립 가능
─────────────────────────────────────
◆ 실전 트레이딩 응용
■ 기관 매수 신호 활용 전략
• 추세 전환 시나리오:
▶ 설정: 하락 추세 중 강한 기관 매수 신호 발생
▶ 진입: 신호 확인 후 다음 캔들에서 매수
▶ 손절: 신호 캔들의 저점 아래
▶ 이익실현: 이전 주요 저항선 도달 시 또는 추세 강도가 약해질 때
• 추세 지속 시나리오:
▶ 설정: 상승 추세 중 조정 후 기관 매수 신호 발생
▶ 진입: 신호 확인 후 매수
▶ 손절: 최근 주요 저점 아래
▶ 이익실현: 추세 강도를 고려하여 단계적으로 이익실현
■ 기관 매도 신호 활용 전략
• 추세 전환 시나리오:
▶ 설정: 상승 추세 중 강한 기관 매도 신호 발생
▶ 진입: 신호 확인 후 다음 캔들에서 매도
▶ 손절: 신호 캔들의 고점 위
▶ 이익실현: 이전 주요 지지선 도달 시 또는 추세 강도가 약해질 때
• 추세 지속 시나리오:
▶ 설정: 하락 추세 중 반등 후 기관 매도 신호 발생
▶ 진입: 신호 확인 후 매도
▶ 손절: 최근 주요 고점 위
▶ 이익실현: 추세 강도를 고려하여 단계적으로 이익실현
■ 다중 시간프레임 접근법
• 상위 시간프레임 방향성 확인:
▶ 일봉/4시간봉에서 기관 신호 및 추세 강도 확인
▶ 주 트레이딩 방향 설정에 활용
• 하위 시간프레임 진입점 찾기:
▶ 상위 시간프레임 방향과 일치하는 하위 시간프레임 신호 대기
▶ 정밀한 진입점 포착에 활용
• 시간프레임 간 신호 일치 확인:
▶ 여러 시간프레임에서 동일한 방향의 신호가 발생할 때 신호 강도 증가
▶ 높은 확률의 트레이딩 기회 포착
─────────────────────────────────────
◆ 지표 설정 가이드
■ 주요 설정 매개변수
• Institutional Continuity Period (기관 연속성 확인 기간):
▶ 목적: 기관의 연속적인 매수/매도 활동을 확인할 기간 설정
▶ 낮은 값: 더 많은 신호 생성, 반응성 증가
▶ 높은 값: 신호 수 감소, 신뢰성 증가
• Trend Strength Threshold (추세 강도 임계값):
▶ 목적: 추세가 강하다고 판단할 최소 임계값 설정
▶ 낮은 값: 더 많은 신호, 낮은 필터링
▶ 높은 값: 더 강한 추세에서만 신호 생성, 높은 필터링
─────────────────────────────────────
◆ 다른 지표와의 시너지
• 지지/저항 레벨:
▶ 주요 지지/저항 레벨에서 발생하는 기관 신호는 확률이 더 높음
▶ 기술적 분석의 핵심 레벨과 기관 활동의 결합은 강력한 시그널 제공
• 이동평균선:
▶ 주요 이동평균선(50MA, 200MA) 근처에서 발생하는 기관 신호 주목
▶ 이동평균선 돌파와 기관 신호가 일치할 때 강한 추세 변화 가능성
• RSI/모멘텀 지표:
▶ 과매수/과매도 상태에서 발생하는 기관 신호는 반전 가능성 높임
▶ 모멘텀 다이버전스와 기관 신호의 일치는 강력한 반전 신호
• 볼륨 프로파일:
▶ 높은 볼륨 노드에서 발생하는 기관 신호는 중요한 가격 레벨 확인
▶ 주요 거래 영역에서의 기관 활동은 가격 방향에 큰 영향 미침
• 시장 구조:
▶ 주요 시장 구조(높은 고점/저점, 낮은 고점/저점) 근처에서 발생하는 기관 신호는 구조 변화 암시
▶ 시장 구조 변화와 기관 활동의 일치는 중요한 추세 전환점 표시
─────────────────────────────────────
◆ 결론
Coinbase Institutional Smart Money Detector는 코인베이스 프라임을 통한 기관 투자자들의 현물 비트코인 거래 활동을 실시간으로 추적하여 트레이더들에게 귀중한 통찰력을 제공합니다. 어떤 거래소의 비트코인 차트에도 적용 가능하기 때문에, 여러분이 선호하는 트레이딩 플랫폼에서 바로 활용할 수 있습니다.
이 지표의 핵심 가치는 일반 트레이더들이 접근하기 어려운 기관 자금 흐름 데이터를 직관적으로 시각화하여 제공한다는 점입니다. 연속적인 가격 움직임, 거래량 증가, 그리고 추세 강도를 종합적으로 분석하여 기관의 활동을 포착함으로써, 여러분은 시장의 큰 손들과 함께 움직일 수 있는 기회를 얻게 됩니다.
코인베이스 프라임 데이터를 기반으로 한 명확한 매수/매도 신호와 실시간 추세 강도 측정은 트레이더들이 시장 상황을 한눈에 파악하고 신속하게 전략적 결정을 내릴 수 있게 도와줍니다. 이 강력한 도구를 여러분의 트레이딩 전략에 통합함으로써, 시장의 스마트 머니가 어디로 흘러가는지 파악하고 그에 따라 포지셔닝할 수 있는 경쟁 우위를 확보하세요.
─────────────────────────────────────
※ 면책 조항: 모든 트레이딩 도구와 마찬가지로, Institutional Smart Money Detector는 보조 지표로 사용해야 하며 트레이딩 결정을 전적으로 의존해서는 안 됩니다. 과거의 기관 행동 패턴이 미래 시장 움직임을 보장하지는 않습니다. 항상 적절한 리스크 관리 전략을 트레이딩에 활용하세요.
Pullback Pro Dow Strategy v7 (ADX Filter)
### **Strategy Description (For TradingView)**
#### **Title:** Pullback Pro: Dow Theory & ADX Strategy
---
#### **1. Summary**
This strategy is designed to identify and trade pullbacks within an established trend, based on the core principles of Dow Theory. It uses market structure (pivot highs and lows) to determine the trend direction and an Exponential Moving Average (EMA) to pinpoint pullback entry opportunities.
To enhance trade quality and avoid ranging markets, an ADX (Average Directional Index) filter is integrated to ensure that entries are only taken when the trend has sufficient momentum.
---
#### **2. Core Logic: How It Works**
The strategy's logic is broken down into three main steps:
**Step 1: Trend Determination (Dow Theory)**
* The primary trend is identified by analyzing recent pivot points.
* An **Uptrend** is confirmed when the script detects a pattern of higher highs and higher lows (HH/HL).
* A **Downtrend** is confirmed by a pattern of lower highs and lower lows (LH/LL).
* If neither pattern is present, the strategy considers the market to be in a range and will not seek trades.
**Step 2: Entry Signal (Pullback to EMA)**
* Once a clear trend is established, the strategy waits for a price correction.
* **Long Entry:** In a confirmed uptrend, a long position is initiated when the price pulls back and crosses *under* the specified EMA.
* **Short Entry:** In a confirmed downtrend, a short position is initiated when the price rallies and crosses *over* the EMA.
**Step 3: Confirmation & Risk Management**
* **ADX Filter:** To ensure the trend is strong enough to trade, an entry signal is only validated if the ADX value is above a user-defined threshold (e.g., 25). This helps filter out weak signals during choppy or consolidating markets.
* **Stop Loss:** The initial Stop Loss is automatically and logically placed at the last market structure point:
    * For long trades, it's placed at the `lastPivotLow`.
    * For short trades, it's placed at the `lastPivotHigh`.
* **Take Profit:** Two Take Profit levels are calculated based on user-defined Risk-to-Reward (R:R) ratios. The strategy allows for partial profit-taking at the first target (TP1), moving the remainder of the position to the second target (TP2).
---
#### **3. Input Settings Explained**
**① Dow Theory Settings**
* **Pivot Lookback Period:** Determines the sensitivity for detecting pivot highs and lows. A smaller number makes it more sensitive to recent price swings; a larger number focuses on more significant, longer-term pivots.
**② Entry Logic (Pullback)**
* **Pullback EMA Length:** Sets the period for the Exponential Moving Average used to identify pullback entries.
**③ Risk & Exit Management**
* **Take Profit 1 R:R:** Sets the Risk-to-Reward ratio for the first take-profit target.
* **Take Profit 1 (%):** The percentage of the position to be closed when TP1 is hit.
* **Take Profit 2 R:R:** Sets the Risk-to-Reward ratio for the final take-profit target.
**④ Filters**
* **Use ADX Trend Filter:** A master switch to enable or disable the ADX filter.
* **ADX Length:** The lookback period for the ADX calculation.
* **ADX Threshold:** The minimum ADX value required to confirm a trade signal. Trades will only be placed if the ADX is above this level.
---
#### **4. Best Practices & Recommendations**
* This is a trend-following system. It is designed to perform best in markets that exhibit clear, sustained trending behavior.
* It may underperform in choppy, sideways, or strongly ranging markets. The ADX filter is designed to help mitigate this, but no filter is perfect.
* **Crucially, you must backtest this strategy thoroughly** on your preferred financial instrument and timeframe before considering any live application.
* Experiment with the `Pivot Lookback Period`, `Pullback EMA Length`, and `ADX Threshold` to optimize performance for a specific market's characteristics.
---
#### **DISCLAIMER**
This script is provided for educational and informational purposes only. It does not constitute financial advice. All trading involves a high level of risk, and past performance is not indicative of future results. You are solely responsible for your own trading decisions. The author assumes no liability for any financial losses you may incur from using this strategy. Always conduct your own research and due diligence.
KST Strategy [Skyrexio]Overview 
KST Strategy   leverages Know Sure Thing (KST) indicator in conjunction with the Williams Alligator and Moving average to obtain the high probability setups. KST is used for for having the high probability to enter in the direction of a current trend when momentum is rising, Alligator is used as a short term trend filter, while Moving average approximates the long term trend and allows trades only in its direction. Also strategy has the additional optional filter on Choppiness Index which does not allow trades if market is choppy, above the user-specified threshold. Strategy has the user specified take profit and stop-loss numbers, but multiplied by Average True Range (ATR) value on the moment when trade is open. The strategy opens only long trades.
 Unique Features 
 
 ATR based stop-loss and take profit.  Instead of fixed take profit and stop-loss percentage strategy utilizes user chosen numbers multiplied by ATR for its calculation.
 Configurable Trading Periods.  Users can tailor the strategy to specific market windows, adapting to different market conditions.
 Optional Choppiness Index filter.  Strategy allows to choose if it will use the filter trades with Choppiness Index and set up its threshold.
 
 Methodology 
The strategy opens long trade when the following price met the conditions:
 
 Close price is above the Alligator's jaw line
 Close price is above the filtering Moving average
 KST line of Know Sure Thing indicator shall cross over its signal line (details in justification of methodology)
 If the Choppiness Index filter is enabled its value shall be less than user defined threshold
 
When the long trade is executed algorithm defines the stop-loss level as the low minus user defined number, multiplied by ATR at the trade open candle. Also it defines take profit with close price plus user defined number, multiplied by ATR at the trade open candle. While trade is in progress, if high price on any candle above the calculated take profit level or low price is below the calculated stop loss level, trade is closed.
 Strategy settings 
In the inputs window user can setup the following strategy settings:
 
 ATR Stop Loss  (by default = 1.5, number of ATRs to calculate stop-loss level)
 ATR Take Profit  (by default = 3.5, number of ATRs to calculate take profit level)
 Filter MA Type  (by default = Least Squares MA, type of moving average which is used for filter MA)
 Filter MA Length  (by default = 200, length for filter MA calculation)
 Enable Choppiness Index Filter  (by default = true, setting to choose the optional filtering using Choppiness index)
 Choppiness Index Threshold  (by default = 50, Choppiness Index threshold, its value shall be below it to allow trades execution)
 Choppiness Index Length  (by default = 14, length used in Choppiness index calculation)
 KST ROC Length #1  (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
 KST ROC Length #2  (by default = 15, value used in KST indicator calculation, more information in Justification of Methodology)
 KST ROC Length #3  (by default = 20, value used in KST indicator calculation, more information in Justification of Methodology)
 KST ROC Length #4  (by default = 30, value used in KST indicator calculation, more information in Justification of Methodology)
 KST SMA Length #1  (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
 KST SMA Length #2  (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
 KST SMA Length #3  (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
 KST SMA Length #4  (by default = 15, value used in KST indicator calculation, more information in Justification of Methodology)
 KST Signal Line Length  (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
 
User can choose the optimal parameters during backtesting on certain price chart.
 Justification of Methodology 
Before understanding why this particular combination of indicator has been chosen let's briefly explain what is KST, Williams Alligator, Moving Average, ATR and Choppiness Index.
The KST (Know Sure Thing) is a momentum oscillator developed by Martin Pring. It combines multiple Rate of Change (ROC) values, smoothed over different timeframes, to identify trend direction and momentum strength. First of all, what is ROC? ROC (Rate of Change) is a momentum indicator that measures the percentage change in price between the current price and the price a set number of periods ago.
 ROC = 100 * (Current Price - Price N Periods Ago) / Price N Periods Ago 
In our case N is the KST ROC Length inputs from settings, here we will calculate 4 different ROCs to obtain KST value:
 KST = ROC1_smooth × 1 + ROC2_smooth × 2 + ROC3_smooth × 3 + ROC4_smooth × 4 
 ROC1 = ROC(close, KST ROC Length #1), smoothed by KST SMA Length #1,
ROC2 = ROC(close, KST ROC Length #2), smoothed by KST SMA Length #2,
ROC3 = ROC(close, KST ROC Length #3), smoothed by KST SMA Length #3,
ROC4 = ROC(close, KST ROC Length #4), smoothed by KST SMA Length #4 
Also for this indicator the signal line is calculated:
 Signal = SMA(KST, KST Signal Line Length) 
When the KST line rises, it indicates increasing momentum and suggests that an upward trend may be developing. Conversely, when the KST line declines, it reflects weakening momentum and a potential downward trend. A crossover of the KST line above its signal line is considered a buy signal, while a crossover below the signal line is viewed as a sell signal. If the KST stays above zero, it indicates overall bullish momentum; if it remains below zero, it points to bearish momentum. The KST indicator smooths momentum across multiple timeframes, helping to reduce noise and provide clearer signals for medium- to long-term trends.
Next, let’s discuss the short-term trend filter, which combines the Williams Alligator and Williams Fractals. Williams Alligator
Developed by Bill Williams, the Alligator is a technical indicator that identifies trends and potential market reversals. It consists of three smoothed moving averages:
 
 Jaw (Blue Line):  The slowest of the three, based on a 13-period smoothed moving average shifted 8 bars ahead.
 Teeth (Red Line):  The medium-speed line, derived from an 8-period smoothed moving average shifted 5 bars forward.
 Lips (Green Line):  The fastest line, calculated using a 5-period smoothed moving average shifted 3 bars forward.
 
When the lines diverge and align in order, the "Alligator" is "awake," signaling a strong trend. When the lines overlap or intertwine, the "Alligator" is "asleep," indicating a range-bound or sideways market. This indicator helps traders determine when to enter or avoid trades.
The next indicator is Moving Average. It has a lot of different types which can be chosen to filter trades and the Least Squares MA is used by default settings. Let's briefly explain what is it.
The Least Squares Moving Average (LSMA) — also known as Linear Regression Moving Average — is a trend-following indicator that uses the least squares method to fit a straight line to the price data over a given period, then plots the value of that line at the most recent point. It draws the best-fitting straight line through the past N prices (using linear regression), and then takes the endpoint of that line as the value of the moving average for that bar. The LSMA aims to reduce lag and highlight the current trend more accurately than traditional moving averages like SMA or EMA.
Key Features:
 
 It reacts faster to price changes than most moving averages.
 It is smoother and less noisy than short-term EMAs.
 It can be used to identify trend direction, momentum, and potential reversal points.
 
ATR (Average True Range) is a volatility indicator that measures how much an asset typically moves during a given period. It was introduced by J. Welles Wilder and is widely used to assess market volatility, not direction.
To calculate it first of all we need to get True Range (TR), this is the greatest value among:
 
 High - Low
 abs(High - Previous Close)
 abs(Low - Previous Close)
 
 ATR = MA(TR, n) , where n is number of periods for moving average, in our case equals 14.
ATR shows how much an asset moves on average per candle/bar. A higher ATR means more volatility; a lower ATR means a calmer market.
The Choppiness Index is a technical indicator that quantifies whether the market is trending or choppy (sideways). It doesn't indicate trend direction — only the strength or weakness of a trend. Higher Choppiness Index usually approximates the sideways market, while its low value tells us that there is a high probability of a trend.
 Choppiness Index = 100 × log10(ΣATR(n) / (MaxHigh(n) - MinLow(n))) / log10(n) 
where:
 
 ΣATR(n)  = sum of the Average True Range over n periods
 MaxHigh(n)  = highest high over n periods
 MinLow(n)  = lowest low over n periods
 log10  = base-10 logarithm
 
Now let's understand how these indicators work in conjunction and why they were chosen for this strategy. KST indicator approximates current momentum, when it is rising and KST line crosses over the signal line there is high probability that short term trend is reversing to the upside and strategy allows to take part in this potential move. Alligator's jaw (blue) line is used as an approximation of a short term trend, taking trades only above it we want to avoid trading against trend to increase probability that long trade is going to be winning.
Almost the same for Moving Average, but it approximates the long term trend, this is just the additional filter. If we trade in the direction of the long term trend we increase probability that higher risk to reward trade will hit the take profit. Choppiness index is the optional filter, but if it turned on it is used for approximating if now market is in sideways or in trend. On the range bounded market the potential moves are restricted. We want to decrease probability opening trades in such condition avoiding trades if this index is above threshold value.
When trade is open script sets the stop loss and take profit targets. ATR approximates the current volatility, so we can make a decision when to exit a trade based on current market condition, it can increase the probability that strategy will avoid the excessive stop loss hits, but anyway user can setup how many ATRs to use as a stop loss and take profit target. As was said in the Methodology stop loss level is obtained by subtracting number of ATRs from trade opening candle low, while take profit by adding to this candle's close.
 Backtest Results 
 
 Operating window:  Date range of backtests is 2023.01.01 - 2025.05.01. It is chosen to let the strategy to close all opened positions.
 Commission and Slippage:  Includes a standard Binance commission of 0.1% and accounts for possible slippage over 5 ticks.
 Initial capital:  10000 USDT
 Percent of capital used in every trade:  60%
 Maximum Single Position Loss:  -5.53%
 Maximum Single Profit:  +8.35%
 Net Profit:  +5175.20 USDT (+51.75%)
 Total Trades:  120 (56.67% win rate)
 Profit Factor:  1.747
 Maximum Accumulated Loss:  1039.89 USDT (-9.1%)
 Average Profit per Trade:  43.13 USDT (+0.6%)
 Average Trade Duration:  27 hours
 
These results are obtained with realistic parameters representing trading conditions observed at major exchanges such as Binance and with realistic trading portfolio usage parameters.
 How to Use 
Add the script to favorites for easy access.
Apply to the desired timeframe and chart (optimal performance observed on 1h BTC/USDT).
Configure settings using the dropdown choice list in the built-in menu.
Set up alerts to automate strategy positions through web hook with the text: {{strategy.order.alert_message}}
 Disclaimer: 
Educational and informational tool reflecting Skyrexio commitment to informed trading. Past performance does not guarantee future results. Test strategies in a simulated environment before live implementation.
Smart Money Liquidity Zones ProThe Smart Money Liquidity Zones Pro indicator identifies and visualizes key liquidity areas in the market where institutional traders (smart money) are likely to have placed their stop-loss orders. These zones represent areas of high liquidity that often act as magnets for price, making them valuable reference points for trading decisions.
 What the Indicator Does 
 Core Functionality 
 
 Swing Point Detection: The indicator identifies significant swing highs and lows using three different methods (Classic, Fractal, or Combined) to locate potential liquidity pools.
 Liquidity Zone Creation: At each valid swing point, the indicator creates a horizontal zone representing an area where stop-loss orders are likely clustered.
 Zone Clustering: When multiple swing points occur near the same price level, the indicator intelligently combines them into larger cluster zones, indicating stronger liquidity areas.
 Volume Confirmation: The indicator can filter zones based on volume, showing only those swing points that occurred with significant trading volume.
 Zone Break Detection: When price closes through a liquidity zone, the indicator marks it as "Liquidity Taken" and removes the zone from the chart.
 
 Zone Types 
 
 Buy-Side Liquidity Zones (Green): Created at swing highs where short sellers' stop-losses are likely placed
 Sell-Side Liquidity Zones (Red): Created at swing lows where long traders' stop-losses are likely placed
 
 Trading Strategies 
 Basic Concepts 
 
 Liquidity Runs: Price often moves toward these zones to trigger stop-loss orders before reversing. This creates trading opportunities.
 Support and Resistance: Unbroken liquidity zones can act as support (sell-side) or resistance (buy-side) levels.
 Breakout Confirmation: When price breaks through a zone with strong momentum, it often continues in that direction.
 
 Entry Strategies 
 Strategy 1: Liquidity Grab Reversa l
 
 Wait for price to spike into a liquidity zone
 Look for rejection candles (wicks) at the zone
 Enter in the opposite direction after confirmation
 Place stop-loss beyond the liquidity zone
 
 Strategy 2: Zone Break Continuation 
 
 Wait for price to close decisively through a zone
 Enter on the retest of the broken zone
 Target the next liquidity zone in the direction of the break
 
 Strategy 3: Zone Clustering Trade 
 
 Focus on areas with multiple overlapping zones (clusters)
 These areas offer higher probability setups
 Trade bounces from cluster zones with tighter risk management
 
 Risk Management 
 
 Always use stop-losses beyond the liquidity zones
 Consider the overall market context and trend
 Zones on higher timeframes are generally more significant
 Volume-confirmed zones have higher reliability
 
 Settings Explanation 
 Swing Detection Settings 
Swing Strength (Lookback Bars)  
 
 Determines how many bars to look back for swing point validation
 Higher values find more significant swings but fewer zones
 Recommended settings:
 
 1m-5m charts: 3-5
15m-1h charts: 5-8
Daily charts: 5-10
Weekly charts: 3-5
Monthly charts: 2-3 
 Adaptive Swing Detection  
 
 Automatically adjusts swing detection based on available historical data
 Prevents errors when there's limited chart history
 Recommended to keep enabled
 
 Minimum Bars for Swing  
 
 Sets the absolute minimum bars required for swing detection
 Lower values allow detection in limited data conditions
 
 Swing Detection Method  
 
 Classic: Strict price comparison for pure swing highs/lows
 Fractal: Williams Fractal pattern (2 bars on each side)
 Combined: Uses both methods for maximum zone detection
 
 Auto-Adjust for Timeframe  
 
 Automatically optimizes settings based on chart timeframe
 Prevents inappropriate settings on higher timeframes
 
 Zone Settings 
Max Number of Visible Zones  
 
 Limits the number of zones displayed to prevent chart clutter
 Older zones are automatically removed
 
Max Zone Duration (Bars)  
 
 Zones older than this are automatically deleted
 Keeps the chart focused on recent liquidity areas
 
Enable Zone Clustering  
 
 Groups nearby zones into larger clusters
 Identifies stronger liquidity areas
 
Cluster Threshold (%)  
 
 Maximum price distance for zones to be clustered
 Lower values create tighter clusters
 
Show Cluster Labels  
 
 Displays "Cluster x2", "Cluster x3" etc. on grouped zones
 
 Volume Filter Settings 
Enable Volume Filter  
 
 When enabled, only creates zones at high-volume swing points
 Increases zone quality but reduces quantity
 
Volume Multiplier  
 
 Multiplier for average volume to determine "high volume"
 Lower values (0.7-0.9) create more zones
 Higher values (1.2+) create fewer, higher-quality zones
 
Volume SMA Period  
 
 Period for calculating average volume
 Higher values create smoother volume baseline
 
Show Volume Confirmation Icon  
 
 Displays a fire emoji on volume-confirmed zones
 
 Volume Visualization Settings 
Show Volume Dots  
 
 Displays dots below high-volume bars
 
Dynamic Zone Colors  
 
 Volume-confirmed zones appear with more intense colors
 
Show Volume Background  
 
 Highlights the chart background on high-volume bars
 
 Visual Settings 
Buy-Side/Sell-Side Zone Colors
 
 Customize colors for long and short liquidity zones
 
Border Width  
 
 Thickness of zone borders (1-3)
 
Show 'Liquidity Taken' Labels  
 
 Displays labels when zones are broken
 
Label Size  
 
 Size of the liquidity taken labels
 
Show Swing Point Markers  
 
 Displays triangles at detected swing points
 
Show Debug Info  
 
 Shows diagnostic information for troubleshooting
 
 Dashboard Settings 
Show Dashboard  
 
 Toggles the information panel display
 
Dashboard Position  
 
 Choose from 6 positions on the chart
 
Background Color  
 
 Dashboard background color
 
Text Color  
 
 Dashboard text color
 
Text Size  
 
 Dashboard text size (tiny/small/normal/large)
 
 Tips for Effective Use
 
 
 Start with default settings and adjust based on your trading style and timeframe
 Use multiple timeframes to identify confluence between zones on different scales
 Combine with other indicators like trend analysis or momentum oscillators
 Pay attention to clusters as they represent stronger liquidity areas
 Monitor volume-confirmed zones for higher probability setups
 Adjust zone duration based on your trading timeframe (shorter for scalping, longer for swing trading)
 Use the debug feature if zones aren't appearing to understand why
 Keep the chart clean by limiting the number of visible zones
 
 Common Issues and Solutions 
 No zones appearing: 
 
 Lower the Swing Strength setting
 Switch to Combined detection method
 Disable volume filter if active
 Check if there's enough historical data
 
 Too many zones: 
 
 Increase Swing Strength
 Enable volume filter
 Reduce Max Number of Visible Zones
 Increase Cluster Threshold
 
 Zones disappearing too quickly: 
 
 Increase Max Zone Duration
 Check if zones are being broken by price
 
 Poor performance on higher timeframes: 
 
 Enable Auto-Adjust for Timeframe
 Use appropriate Swing Strength for the timeframe
 Consider using Classic method instead of Fractal
PineConnector [Extension] | FractalystWhat is the PineConnector Extension? 
The PineConnector Extension is a sophisticated bridge indicator designed to seamlessly connect Quantify trading signals with PineConnector's automated execution system.
This extension transforms manual signal monitoring into fully automated trading by interpreting Quantify's signal outputs and converting them into executable PineConnector commands.
Unlike standalone trading indicators, this extension serves as a communication layer between your signal generation (Quantify indicator) and trade execution (PineConnector), enabling hands-free trading across multiple timeframes and instruments.
 How does the signal processing work? 
The extension processes four distinct signal types from Quantify indicators:
Signal Values:
1 = Buy/Long signal - Opens bullish positions
-1 = Sell/Short signal - Opens bearish positions
0.5 = Close Long - Closes all long positions
-0.5 = Close Short - Closes all short positions
The script continuously monitors the "Signal Source" input, which should be connected to any Quantify indicator's output. When a signal is detected, the extension automatically generates the corresponding PineConnector command with your configured parameters.
 What are the available order types and how do they work? 
The extension supports three order execution modes:
 Market Orders: 
- Execute immediately at current market price
- Highest execution probability
- Subject to slippage during volatile conditions
 Limit Orders: 
- Execute only when price reaches a more favorable level
- Buy limits placed below current price
- Sell limits placed above current price
- Dynamic pip offset calculated using ATR-based volatility
 Stop Orders: 
- Execute when price breaks beyond specified levels
- Buy stops placed above current price
- Sell stops placed below current price
- Useful for breakout strategies
Dynamic Pricing Calculation:
The extension calculates optimal entry prices using volatility-adjusted pip offsets:
 priceVolatility = ta.atr(14) / close * 100
volatilityFactor = math.min(math.max(priceVolatility / 0.1, 0.5), 2.0)
pipsOffset = 10 * volatilityFactor
 
 How does the risk management system work? 
 Risk Percentage: 
The extension uses percentage-based position sizing where you specify the risk per trade (0.1% to 10.0%). This value is passed to PineConnector, which calculates the exact position size based on:
- Account balance
- Stop loss distance
- Instrument specifications
- Broker settings
 Stop Loss Integration: 
- The "Stop Source" input connects to external stop loss levels from Quantify or other indicators. - This ensures:
- Consistent risk-reward ratios
- Dynamic stop placement based on market structure
- Automatic position sizing calculations
 Multi-Asset Compatibility: 
The extension automatically detects instrument types and adjusts pip calculations:
Forex: mintick * 10
Crypto: mintick * 10
Other assets: mintick * 1
 What does the information display table show? 
The real-time status table provides essential configuration monitoring:
 Status Indicators: 
- License: Shows PineConnector license ID status (Blue = Set, Red = Missing)
- Security: Displays secret key status (Blue = Set, Orange = Disabled)
- Comment: Shows trade comment or timeframe if empty
- Symbol: Current trading symbol (manual override or chart symbol)
- Order Type: Active execution mode (Market/Limit/Stop)
- Risk: Risk percentage with color coding (Blue ≤1%, Orange >1%)
- Signal: Connection status (Blue = Connected, Red = Not Set)
- Stop: Stop loss source status (Blue = Connected, Red = Not Set)
 Color Coding System: 
Blue: Optimal/Connected
Orange: Warning/Moderate risk
Red: Error/Not configured
 How do I connect this to my Quantify indicator? 
Step-by-Step Connection:
 Add the PineConnector Extension  to your chart containing Quantify indicator
 Configure Signal Source: 
In the extension settings, locate "Signal Source"
Click the dropdown and select your Quantify indicator's signal output
The extension will automatically detect custom sources vs. default price data
 Configure Stop Source: 
Connect "Stop Source" to your Quantify indicator's stop loss output
This enables dynamic position sizing based on stop distance
 Verify Connection: 
Check the information table for "Signal" and "Stop" status
Blue indicates successful connection
Red indicates default price data (not connected)
 Compatible Quantify Indicators: 
- Quantify Trading Model
- Any indicator outputting standardized signals (1, -1, 0.5, -0.5)
 What PineConnector setup is required? 
 Prerequisites: 
- Active PineConnector License - Required for all functionality
- MetaTrader 4/5 or supported broker platform
- PineConnector EA installed and configured
- TradingView Pro/Pro+/Premium for alert functionality
 Configuration Steps: 
- License ID: Enter your PineConnector license ID in the extension
- Secret Key: Optional security layer for command verification
- Symbol Mapping: Ensure symbol names match between TradingView and broker
- Alert Setup: Create TradingView alerts using this indicator
- Webhook Configuration: Point alerts to your PineConnector webhook URL
 Security Features: 
- Optional secret key encryption
- Symbol-specific commands
- Debug mode for testing and validation
 What makes this extension unique? 
 Seamless Integration: 
- Unlike manual signal copying, this extension provides:
- Zero-latency signal translation
- Automated parameter passing
- Consistent execution across timeframes
- No human intervention required
 Dynamic Adaptability: 
Volatility-adjusted pricing for limit/stop orders
Automatic symbol detection and conversion
Multi-asset pip calculations
Intelligent timeframe formatting
 Professional Risk Management: 
- Percentage-based position sizing
- External stop loss integration
- Multi-order type support
- Real-time status monitoring
 Robust Architecture: 
- Error-resistant signal processing
- Comprehensive input validation
- Debug and testing capabilities
- Security features for live trading
 Installation and Setup Guide 
 Quick Start: 
- Add "PineConnector   | Fractalyst" to your chart
- Configure your PineConnector license ID
- Connect Signal Source to your Quantify indicator
- Connect Stop Source to your stop loss indicator
- Set your preferred risk percentage
- Choose order type (Market recommended for beginners)
- Create TradingView alert using this indicator
- Ensure PineConnector EA is running on your trading platform
 Advanced Configuration: 
- Custom symbol mapping for cross-platform trading
- Secret key implementation for enhanced security
- Comment customization for trade tracking
- Debug mode for strategy validation
 Legal Disclaimers and Risk Acknowledgments 
 Trading Risk Disclosure 
This PineConnector Extension is provided for informational, educational, and automation purposes only and should not be construed as financial, investment, or trading advice. The extension facilitates automated trading connections but does not guarantee profitable outcomes, successful trade execution, or positive investment returns.
Automated trading systems carry substantial risks including but not limited to total capital loss, system failures, connectivity issues, and adverse market conditions. The extension's performance depends on multiple third-party services including PineConnector, MetaTrader platforms, TradingView infrastructure, and broker execution quality, any of which may experience downtime, technical failures, or service interruptions that could affect trading performance.
 System Dependency Acknowledgment 
The extension requires continuous operation of multiple interconnected systems: TradingView charts and alerts, PineConnector services and Expert Advisors, MetaTrader platforms, broker connectivity, and stable internet connections. Any interruption or malfunction in these systems may result in missed signals, failed executions, or unexpected trading behavior.
Users acknowledge that neither the seller nor the creator of this extension has control over these third-party services and cannot guarantee their availability, accuracy, or performance. Market conditions, broker execution policies, slippage, and technical factors may significantly affect actual trading results compared to theoretical or backtested performance.
 Liability Limitation 
By utilizing this extension, users acknowledge and agree that they assume full responsibility and liability for all trading decisions, financial outcomes, and potential losses resulting from the use of this automated trading system. Neither the seller nor the creator shall be liable for any unfavorable outcomes, financial losses, missed opportunities, or damages resulting from the development, use, malfunction, or performance of this extension.
Past performance of connected indicators, strategies, or the extension itself does not guarantee future results. Trading outcomes depend on numerous factors including market conditions, economic events, broker execution quality, network connectivity, and proper system configuration, all of which are beyond the control of the extension creator.
 User Responsibility Statement 
Users are solely responsible for understanding the risks associated with automated trading, properly configuring all system components, maintaining adequate capitalization and risk management, and regularly monitoring system performance. Users should thoroughly test the extension in demo environments before live deployment and should never risk more capital than they can afford to lose.
This extension is designed to automate signal execution but does not replace the need for proper risk management, market understanding, and trading discipline. Users should maintain active oversight of their automated trading systems and be prepared to intervene manually when necessary.
Support & Resistance AriesSupport & Resistance Aries
This indicator automatically identifies support and resistance levels based on the highest and lowest closing prices within a configurable period.
How it works:
The user sets a calculation period (default is 20 candles).
The indicator plots:
Green line = Support: lowest closing price within the period.
Red line = Resistance: highest closing price within the period.
Adjustable parameter:
Calculation Period (1 to 200): defines how many candles are used to find the price extremes.
Purpose:
Helps users quickly visualize dynamic support and resistance zones that adjust as price evolves, making it easier to identify areas for potential entries, exits, and stop placements.
Important:
This indicator should not be used as a standalone buy or sell signal, nor as a trend confirmation tool on its own.
It is recommended to use it in combination with other technical analysis tools such as MACD, RSI, Volume, Moving Averages, among others, for a more complete market view.
Disclaimer:
Investing involves financial risk. Be cautious with both profits and losses. Always define a stop loss to avoid larger losses if the trend reverses.
One of the golden rules in trading is: a trader should not lose more than 3% to 5% of their capital per trade. Protecting your capital should always be the priority.
Risk Calculator PRO — manual lot size + auto lot-suggestionWhy risk management?
 90 % of traders blow up because they size positions emotionally. This tool forces Risk-First Thinking: choose the amount you’re willing to lose, and the script reverse-engineers everything else. 
Key features
	1.	Manual or Market Entry – click “Use current price” or type a custom entry.
	2.	Setup-based ₹-Risk – four presets (A/B/C/D). Edit to your workflow.
	3.	Lot-Size Input + Auto Lot Suggestion – you tell the contract size ⇒ script tells you how many lots.
	4.	Auto-SL (optional) – tick to push stop-loss to exactly 1-lot risk.
	5.	Instant Targets – 1 : 2, 1 : 3, 1 : 4, 1 : 5 plotted and alert-ready.
	6.	P&L Preview – table shows potential profit at each R-multiple plus real ₹ at SL.
	7.	Margin Column – enter per-lot margin once; script totals it for any size.
	8.	Clean Table UI – dark/light friendly; updates every 5 bars.
	9.	Alert Pack – SL, each target, plus copy-paste journal line on the chart.
How to use
	1.	Add to chart > “Format”.
	2.	Type the lot size for the symbol (e.g., 1250 for Natural Gas, 1 for cash equity).
	3.	Pick Side (Buy / Sell) & Setup grade.
	4.	✅ If you want the script to place SL for you, tick Auto-SL (risk = 1 lot).
	5.	Otherwise type your own Stop-loss.
	6.	Read the table:
	•	Suggested lots = how many to trade so risk ≤ setup ₹.
	•	Risk (currency) = real money lost if SL hits.
	7.	Set TradingView alerts on the built-in conditions (T1_2, SL_hit, etc.) if you’d like push / email.
	8.	Copy the orange CSV label to Excel / Sheets for journalling.
Best practices
	•	Never raise risk to “fit” a trade. Lower size instead.
	•	Review win-rate vs. R multiple monthly; adjust setups A–D accordingly.
	•	Test Auto-SL in replay before going live.
Disclaimer
This script is educational. Past performance ≠ future results. The author isn’t responsible for trading losses.
Reverse Keltner Channel StrategyReverse Keltner Channel Strategy
Overview
The Reverse Keltner Channel Strategy is a mean-reversion trading system that capitalizes on price movements between Keltner Channels. Unlike traditional Keltner Channel strategies that trade breakouts, this system takes the contrarian approach by entering positions when price returns to the channel after overextending.
Strategy Logic
Long Entry Conditions:
Price crosses above the lower Keltner Channel from below
This signals a potential reversal after an oversold condition
Position is entered at market price upon signal confirmation
Long Exit Conditions:
Take Profit: Price reaches the upper Keltner Channel
Stop Loss: Placed at half the channel width below entry price
Short Entry Conditions:
Price crosses below the upper Keltner Channel from above
This signals a potential reversal after an overbought condition
Position is entered at market price upon signal confirmation
Short Exit Conditions:
Take Profit: Price reaches the lower Keltner Channel
Stop Loss: Placed at half the channel width above entry price
Key Features
Mean Reversion Approach: Takes advantage of price tendency to return to mean after extreme moves
Adaptive Stop Loss: Stop loss dynamically adjusts based on market volatility via ATR
Visual Signals: Entry points clearly marked with directional triangles
Fully Customizable: All parameters can be adjusted to fit various market conditions
Customizable Parameters
Keltner EMA Length: Controls the responsiveness of the channel (default: 20)
ATR Multiplier: Determines channel width/sensitivity (default: 2.0)
ATR Length: Affects volatility calculation period (default: 10)
Stop Loss Factor: Adjusts risk management aggressiveness (default: 0.5)
Best Used On
This strategy performs well on:
Currency pairs with defined ranging behavior
Commodities that show cyclical price movements
Higher timeframes (4H, Daily) for more reliable signals
Markets with moderate volatility
Risk Management
The built-in stop loss mechanism automatically adjusts to market conditions by calculating position risk relative to the current channel width. This approach ensures that risk remains proportional to potential reward across varying market conditions.
Notes for Optimization
Consider adjusting the EMA length and ATR multiplier based on the specific asset and timeframe:
Lower values increase sensitivity and generate more signals
Higher values produce fewer but potentially more reliable signals
As with any trading strategy, thorough backtesting is recommended before live implementation.
Past performance is not indicative of future results. Always practice sound risk management.






















